Stan Lagun 342ef70801 Added missing execution plan
Execution plan to patch existing k8s services to include node IPs
when number of nodes changed and we are not using gateways
or we was using gateways and now we don't

These 2 files were supposed to be in
https://review.openstack.org/#/c/175506/
but I forgot to commit them

Also fixes typo that is already fixed in stable/kilo

Change-Id: I6af644511bf25ae7ae31c88914d33b8c518a4eec
2015-04-22 03:28:37 +03:00

7 lines
104 B
Bash

#!/bin/bash
# $1 - service name
# $2 - publicIPs JSON
/opt/bin/kubectl update service $1 --patch="$2"