diff --git a/templates/NOTES.txt b/templates/NOTES.txt index 96e7076..95dc23e 100644 --- a/templates/NOTES.txt +++ b/templates/NOTES.txt @@ -1,7 +1,7 @@ 1. Please run the following commands now to configure the link between Kubernetes and StorageOS(*): ClusterIP=$(kubectl get svc/{{ .Values.service.name }} --namespace {{ .Values.service.namespace }} -o custom-columns=IP:spec.clusterIP --no-headers=true) -ApiAddress=$(echo -n "tcp://$ClusterIP:{{ .Values.service.externalPort }}" | base64) +ApiAddress=$(/bin/echo -n "tcp://$ClusterIP:{{ .Values.service.externalPort }}" | base64) kubectl patch secret/{{ .Values.api.secretName }} --namespace {{ .Values.api.secretNamespace }} --patch "{\"data\": {\"apiAddress\": \"$ApiAddress\"}}" *) Unfortunately this is needed until the Kubernetes apiserver can use kube-dns to resolve service