summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2018-01-30 12:33:51 -0500
committerAlexis de Talhouët <adetalhouet89@gmail.com>2018-01-30 12:36:51 -0500
commit9424560744feb9c7f4c7c7e671e0c8de1d616d10 (patch)
tree2563da649c2472253d4ab1e8811cb8d89fed1d4a
parent1d7ef10bb86307de39f161f3fce90e512f8d8c6b (diff)
Fix UEB IPs when running a K8S cluster
The sed command was missing the g preffix, which led to wrong format UEB cluster IP in SDC. Change-Id: I50f8e655cc9383cc17be6b3ca8d0ceaad7b92167 Issue-ID: OOM-638 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
-rwxr-xr-xkubernetes/config/docker/init/config-init.sh4
-rw-r--r--kubernetes/config/values.yaml2
2 files changed, 3 insertions, 3 deletions
diff --git a/kubernetes/config/docker/init/config-init.sh b/kubernetes/config/docker/init/config-init.sh
index e0b34026dc..cdf2d53522 100755
--- a/kubernetes/config/docker/init/config-init.sh
+++ b/kubernetes/config/docker/init/config-init.sh
@@ -267,8 +267,8 @@ UEB_ADDR_IP=$(kubectl get nodes -o jsonpath='{ $.items[*].status.addresses[?(@.t
# Also, this list has to be comma seperated.
if [ `echo $UEB_ADDR_IP | wc -w` -gt "1" ]
then
- UEB_ADDR_IP_COMMA_AND_QUOTE_SEPERATED=`echo $UEB_ADDR_IP | sed 's/ /","/'`
- UEB_ADDR_IP_COMMA_SEPERATED=`echo $UEB_ADDR_IP | sed 's/ /,/'`
+ UEB_ADDR_IP_COMMA_AND_QUOTE_SEPERATED=`echo $UEB_ADDR_IP | sed 's/ /","/g'`
+ UEB_ADDR_IP_COMMA_SEPERATED=`echo $UEB_ADDR_IP | sed 's/ /,/g'`
else
UEB_ADDR_IP_COMMA_AND_QUOTE_SEPERATED="$UEB_ADDR_IP\",\"$UEB_ADDR_IP"
UEB_ADDR_IP_COMMA_SEPERATED="$UEB_ADDR_IP,$UEB_ADDR_IP"
diff --git a/kubernetes/config/values.yaml b/kubernetes/config/values.yaml
index 43b42efa1a..46d408d6f1 100644
--- a/kubernetes/config/values.yaml
+++ b/kubernetes/config/values.yaml
@@ -3,5 +3,5 @@ nsPrefix: onap
dockerSharePath: /dockerdata-nfs
image:
repository: oomk8s/config-init
- tag: 1.1.13
+ tag: 1.1.14
pullPolicy: Always