mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-01 22:34:14 +00:00
support setElementOrder
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
{
|
||||
"spec": {
|
||||
"$setElementOrder/ports": [
|
||||
{
|
||||
"port": 82
|
||||
}
|
||||
],
|
||||
"clusterIP": "10.0.0.10",
|
||||
"ports": [
|
||||
{
|
||||
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user