
* 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
7 lines
105 B
Bash
7 lines
105 B
Bash
#!/bin/bash
|
|
|
|
# $1 - service name
|
|
# $2 - publicIPs JSON
|
|
|
|
/opt/bin/kubectl patch service "$1" --patch="$2"
|