aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/sample-apps/m3db_promql/templates/deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/DAaaS/sample-apps/m3db_promql/templates/deployment.yaml')
-rw-r--r--vnfs/DAaaS/sample-apps/m3db_promql/templates/deployment.yaml4
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: