diff options
author | Rajamohan Raj <rajamohan.raj@intel.com> | 2019-06-20 20:40:38 +0000 |
---|---|---|
committer | Rajamohan Raj <rajamohan.raj@intel.com> | 2019-06-20 20:40:38 +0000 |
commit | 89d943c479f8c6af2ab45f79548aec335cac42e0 (patch) | |
tree | 69ce3f45fb9518731f27dd599042f9768c2bba54 /vnfs/DAaaS/sample-apps/m3db_promql/templates/deployment.yaml | |
parent | 5a3bd7342fc68f6ea79133225649182d224d43ea (diff) |
Paramterize the configMap name
Paramterize the configmap name in the helm chart of
sample-promql-query-app.
Issue-ID: ONAPARC-508
Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com>
Change-Id: I8ec7c6128fbc0577c73abacf1c8496eaf912fec7
Diffstat (limited to 'vnfs/DAaaS/sample-apps/m3db_promql/templates/deployment.yaml')
-rw-r--r-- | vnfs/DAaaS/sample-apps/m3db_promql/templates/deployment.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vnfs/DAaaS/sample-apps/m3db_promql/templates/deployment.yaml b/vnfs/DAaaS/sample-apps/m3db_promql/templates/deployment.yaml index 99a4e2ad..d82f18f8 100644 --- a/vnfs/DAaaS/sample-apps/m3db_promql/templates/deployment.yaml +++ b/vnfs/DAaaS/sample-apps/m3db_promql/templates/deployment.yaml @@ -46,8 +46,8 @@ spec: - name: DATA_ENDPOINT valueFrom: configMapKeyRef: - name: configmap_promql_app_env - key: DATA_ENDPOINT + name: {{ if .Values.prometheus.configMapName }}{{ .Values.prometheus.configMapName }}{{ else }}{{ template "promql_query_app.fullname" . }}{{ end }} + key: prometheus_endpoint - name: AWS_ACCESS_KEY_ID valueFrom: secretKeyRef: |