summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates/secret-aaf.yaml
diff options
context:
space:
mode:
authorAgarwal, Ruchira (ra1926) <ra1926@att.com>2019-10-01 17:36:24 +0000
committerAgarwal, Ruchira (ra1926) <ra1926@att.com>2020-01-21 20:37:49 +0000
commitec7c75e84977916ae0262c10a0f4401d946e4dfd (patch)
treeb47623f572a2f4d698816bc1342b8a801ef88968 /kubernetes/sdnc/templates/secret-aaf.yaml
parent78211d7aabf6d7612e5c94cecbd40eb3c29a48d6 (diff)
aaf auto cert generation
Add support for AAF init container for config and cert generation Issue-ID: SDNC-755 Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com> Change-Id: I06ee7921b6dbb1b4b9ca64cf276a374256af3a45 Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com>
Diffstat (limited to 'kubernetes/sdnc/templates/secret-aaf.yaml')
-rw-r--r--kubernetes/sdnc/templates/secret-aaf.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/kubernetes/sdnc/templates/secret-aaf.yaml b/kubernetes/sdnc/templates/secret-aaf.yaml
new file mode 100644
index 0000000000..cd2e539b28
--- /dev/null
+++ b/kubernetes/sdnc/templates/secret-aaf.yaml
@@ -0,0 +1,15 @@
+{{ if .Values.global.aafEnabled }}
+apiVersion: v1
+kind: Secret
+metadata:
+ name: {{ include "common.fullname" . }}-aaf
+ namespace: {{ include "common.namespace" . }}
+ labels:
+ app: {{ include "common.fullname" . }}
+ chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
+ release: {{ .Release.Name }}
+ heritage: {{ .Release.Service }}
+type: Opaque
+data:
+ aaf-password: {{ .Values.aaf_init.deploy_pass | b64enc | quote }}
+{{ end }}