summaryrefslogtreecommitdiffstats
path: root/kubernetes/dcaegen2/components/dcae-bootstrap/templates/deployment.yaml
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-09-29 07:39:41 +0000
committerGerrit Code Review <gerrit@onap.org>2020-09-29 07:39:41 +0000
commitc95a5a8cd9fdd94bf2cd08a23016428f9472d50a (patch)
tree12999e3378e99d65764c76dc2cb97c86ae9505bb /kubernetes/dcaegen2/components/dcae-bootstrap/templates/deployment.yaml
parentdeaa8416bf1f42a5ed160fb47ad25ec3a79b512b (diff)
parent12db78947bd0a76ebfad5cd8e46d5174469207e7 (diff)
Merge "[DCAEGEN2] Use common secret template for cloudify password"
Diffstat (limited to 'kubernetes/dcaegen2/components/dcae-bootstrap/templates/deployment.yaml')
-rw-r--r--kubernetes/dcaegen2/components/dcae-bootstrap/templates/deployment.yaml7
1 files changed, 2 insertions, 5 deletions
diff --git a/kubernetes/dcaegen2/components/dcae-bootstrap/templates/deployment.yaml b/kubernetes/dcaegen2/components/dcae-bootstrap/templates/deployment.yaml
index afacc26733..4d10bcc0c9 100644
--- a/kubernetes/dcaegen2/components/dcae-bootstrap/templates/deployment.yaml
+++ b/kubernetes/dcaegen2/components/dcae-bootstrap/templates/deployment.yaml
@@ -1,6 +1,6 @@
#============LICENSE_START========================================================
# ================================================================================
-# Copyright (c) 2017-2019 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2017-2020 AT&T Intellectual Property. All rights reserved.
# Modifications Copyright © 2018 Amdocs, Bell Canada
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -128,10 +128,7 @@ spec:
- name: CMADDR
value: {{ .Values.config.address.cm.host }}
- name: CMPASS
- valueFrom:
- secretKeyRef:
- name: {{ include "common.name" . }}-cmpass
- key: password
+ {{- include "common.secret.envFromSecretFast" (dict "global" . "uid" "cm-pass" "key" "password") | indent 14}}
- name: CMPROTO
value: {{ .Values.config.address.cm.proto }}
- name: CMPORT