support setElementOrder

This commit is contained in:
ymqytw
2017-05-31 14:59:59 -07:00
parent 7043372d05
commit c3481b07d2
12 changed files with 3985 additions and 1324 deletions

View File

@@ -1,5 +1,10 @@
{
"spec": {
"$setElementOrder/ports": [
{
"port": 82
}
],
"clusterIP": "10.0.0.10",
"ports": [
{

View File

@@ -5,16 +5,21 @@
}
},
"spec": {
"ports": [
"$setElementOrder/ports": [
{
"$patch": "delete",
"port": 82
},
"port": 83
}
],
"ports": [
{
"name": "80",
"port": 83,
"protocol": "VHF",
"targetPort": 81
},
{
"$patch": "delete",
"port": 82
}
]
}

View File

@@ -5,16 +5,21 @@
}
},
"spec": {
"ports": [
"$setElementOrder/ports": [
{
"$patch": "delete",
"port": 82
},
"port": 83
}
],
"ports": [
{
"name": "80",
"port": 83,
"protocol": "TCP",
"targetPort": 81
},
{
"$patch": "delete",
"port": 82
}
]
}