adding vth code as well as aaf and cert config
[it/otf.git] / otf-aaf-credential-generator / helm / otf-aaf-credential-generator / templates / secret.yaml
diff --git a/otf-aaf-credential-generator/helm/otf-aaf-credential-generator/templates/secret.yaml b/otf-aaf-credential-generator/helm/otf-aaf-credential-generator/templates/secret.yaml
new file mode 100644 (file)
index 0000000..44a4be1
--- /dev/null
@@ -0,0 +1,11 @@
+apiVersion: v1\r
+kind: Secret\r
+metadata:\r
+  name: {{ .Values.appName}}\r
+type: Opaque\r
+data:\r
+  cadi_keyfile: {{ .Files.Get .Values.keyfilePath | b64enc }}\r
+  aaf_id: {{ .Values.Secret.aafId | b64enc}}\r
+  aaf_password: {{ .Values.Secret.aafPassword | b64enc}}\r
+  aaf_mech_password: {{ .Values.Secret.aafMechPassword | b64enc}}\r
+  keyfile_secret_path: {{.Values.Secret.keyfileSecretPath | b64enc}}\r