diff options
author | Mike Elliott <mike.elliott@amdocs.com> | 2018-05-31 15:17:37 -0400 |
---|---|---|
committer | Mike Elliott <mike.elliott@amdocs.com> | 2018-05-31 15:23:13 -0400 |
commit | 59ebef2c3f5b08b3a02267082d9ae93c94e5bc7e (patch) | |
tree | f45497556c80e7402f991b4020b3ff4aa9ea7719 /kubernetes/dcaegen2/charts | |
parent | e34a39f3147940502d4cebcec483f0c1693eef2b (diff) |
Fix DCAE Redis cluster config
Fixed line break issue in redis-cluster-config.sh
Now seeing successful redis cluster configuration:
9:M 31 May 16:25:37.442 * Synchronization with slave 10.42.59.66:6379 succeeded
Change-Id: If8d338d38662295e55fdc3869d4a945a82d595dc
Issue-ID: OOM-1093
Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
Diffstat (limited to 'kubernetes/dcaegen2/charts')
-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') |