Merge "[CONSUL] Add limits to consul chart."
[oom.git] / kubernetes / pnda / charts / dcae-pnda-bootstrap / resources / scripts / bootstrap.sh
old mode 100644 (file)
new mode 100755 (executable)
index e9b6f34..bc53184
@@ -1,4 +1,5 @@
 #!/bin/sh
+{{/*
 # ================================================================================
 # Copyright (c) 2018 Cisco Systems. All rights reserved.
 # ================================================================================
@@ -14,6 +15,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 # ============LICENSE_END=========================================================
+*/}}
 
 # Install PNDA in Openstack with Heat templates
 # Expects:
@@ -29,7 +31,7 @@ fi
 
 set -ex
 
-CLUSTER_PREFIX="{{ .Release.Name }}-{{ include "common.namespace" . }}-pnda"
+CLUSTER_PREFIX="{{ include "common.release" . }}-{{ include "common.namespace" . }}-pnda"
 DATANODES="{{ .Values.pnda.dataNodes }}"
 KAFKANODES="{{ .Values.pnda.kafkaNodes }}"
 VERSION="{{ .Values.pnda.version }}"