summaryrefslogtreecommitdiffstats
path: root/kubernetes/policy/templates/secrets.yaml
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2020-04-14 08:37:12 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-14 08:37:12 +0000
commitf7e055a3e51f306f1dc78c46f36a4b23137cabcf (patch)
tree2ba73e4185870d48ffbe9f6b42fec2f79ff38587 /kubernetes/policy/templates/secrets.yaml
parent89980a4583908910c18c05631aa22ece98e3f4c3 (diff)
parent98a79cc52d63ae1218aff2b0043fedf9536f235a (diff)
Merge "[POLICY] Use common secret template in whole policy module"
Diffstat (limited to 'kubernetes/policy/templates/secrets.yaml')
-rw-r--r--kubernetes/policy/templates/secrets.yaml15
1 files changed, 1 insertions, 14 deletions
diff --git a/kubernetes/policy/templates/secrets.yaml b/kubernetes/policy/templates/secrets.yaml
index 6b8bc41033..c1f98ba3cc 100644
--- a/kubernetes/policy/templates/secrets.yaml
+++ b/kubernetes/policy/templates/secrets.yaml
@@ -13,17 +13,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-apiVersion: v1
-kind: Secret
-metadata:
- name: {{ include "common.fullname" . }}-secret
- namespace: {{ include "common.namespace" . }}
- labels:
- app: {{ include "common.name" . }}
- chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
- release: {{ include "common.release" . }}
- heritage: {{ .Release.Service }}
-type: Opaque
-data:
- db-user-password: {{ index .Values "mariadb-galera" "config" "userPassword" | b64enc | quote }}
- db-root-password: {{ index .Values "mariadb-galera" "config" "mariadbRootPassword" | b64enc | quote }}
+{{ include "common.secretFast" . }}