diff options
author | Borislav Glozman <Borislav.Glozman@amdocs.com> | 2018-06-03 17:18:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-06-03 17:18:12 +0000 |
commit | 0a814ce05ef16b92737a3a4367b3990845b66702 (patch) | |
tree | 78e862c607509566e457c41ae99e161f51de2be3 | |
parent | 112a077412effc2703482c535910c4fd916f63e3 (diff) | |
parent | 59ebef2c3f5b08b3a02267082d9ae93c94e5bc7e (diff) |
Merge "Fix DCAE Redis cluster config"
-rwxr-xr-x | kubernetes/dcaegen2/charts/dcae-redis/resources/redis/scripts/redis-cluster-config.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kubernetes/dcaegen2/charts/dcae-redis/resources/redis/scripts/redis-cluster-config.sh b/kubernetes/dcaegen2/charts/dcae-redis/resources/redis/scripts/redis-cluster-config.sh index f4547525c9..a63ab1668d 100755 --- a/kubernetes/dcaegen2/charts/dcae-redis/resources/redis/scripts/redis-cluster-config.sh +++ b/kubernetes/dcaegen2/charts/dcae-redis/resources/redis/scripts/redis-cluster-config.sh @@ -25,9 +25,7 @@ do echo "======> $(echo $NODES |wc -w) / {{.Values.replicaCount}} pods up" sleep 5 - RESP=$(wget -vO- --ca-certificate /var/run/secrets/kubernetes.io/serviceaccount/ca.crt --header "Authorization -: Bearer $(</var/run/secrets/kubernetes.io/serviceaccount/token)" https://$KUBERNETES_SERVICE_HOST:$KUBERNETES_PORT -_443_TCP_PORT/api/v1/namespaces/{{.Release.Namespace}}/pods?labelSelector=app={{.Chart.Name}}) + RESP=$(wget -vO- --ca-certificate /var/run/secrets/kubernetes.io/serviceaccount/ca.crt --header "Authorization: Bearer $(</var/run/secrets/kubernetes.io/serviceaccount/token)" https://$KUBERNETES_SERVICE_HOST:$KUBERNETES_PORT_443_TCP_PORT/api/v1/namespaces/{{.Release.Namespace}}/pods?labelSelector=app={{.Chart.Name}}) IPS=$(echo $RESP | jq -r '.items[].status.podIP') IPS2=$(echo $IPS | sed -e 's/[a-zA-Z]*//g') |