aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/portal-ng/components/portal-ng-bff/templates/secret.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/portal-ng/components/portal-ng-bff/templates/secret.yaml')
-rw-r--r--kubernetes/portal-ng/components/portal-ng-bff/templates/secret.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/kubernetes/portal-ng/components/portal-ng-bff/templates/secret.yaml b/kubernetes/portal-ng/components/portal-ng-bff/templates/secret.yaml
new file mode 100644
index 0000000000..a47b707284
--- /dev/null
+++ b/kubernetes/portal-ng/components/portal-ng-bff/templates/secret.yaml
@@ -0,0 +1,10 @@
+apiVersion: v1
+kind: Secret
+metadata:
+ name: {{ include "common.fullname" . }}-secret
+ namespace: {{ include "common.namespace" . }}
+type: Opaque
+data:
+ {{- range $key, $val := .Values.secretEnv }}
+ {{ $key }}: {{ $val | b64enc | quote }}
+ {{- end -}} \ No newline at end of file