[K8s] Fixing patchService.sh
* Since update command is replaced by replace here https://review.openstack.org/#/c/358661/ for patching the resource it needs to use 'kubectl patch <type> <name> --patch <patch>' Change-Id: Ie7e5c4aea3b0cee519ae5ed81cff0dcc3ab67562
This commit is contained in:
parent
05f017fd94
commit
94734974c6
|
@ -3,4 +3,4 @@
|
|||
# $1 - service name
|
||||
# $2 - publicIPs JSON
|
||||
|
||||
/opt/bin/kubectl replace service "$1" --patch="$2"
|
||||
/opt/bin/kubectl patch service "$1" --patch="$2"
|
||||
|
|
Loading…
Reference in New Issue