[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:
Nikolay Mahotkin 2016-08-26 16:32:55 +03:00
parent 05f017fd94
commit 94734974c6
1 changed files with 1 additions and 1 deletions

View File

@ -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"