You've already forked athens-proxy-charts
fix: improve chart
This commit is contained in:
20
templates/athens-proxy/secretEnv.yaml
Normal file
20
templates/athens-proxy/secretEnv.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
{{- if not .Values.config.env.existingSecret.enabled }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
{{- with (include "athens-proxy.secrets.env.annotations" . | fromYaml) }}
|
||||
annotations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- with (include "athens-proxy.secrets.env.labels" . | fromYaml) }}
|
||||
labels:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
name: {{ include "athens-proxy.fullname" . }}-env
|
||||
namespace: {{ .Release.Namespace }}
|
||||
stringData:
|
||||
{{- range $key, $value := .Values.config.env.secret.envs }}
|
||||
{{ upper $key }}: {{ quote $value }}
|
||||
{{- end }}
|
||||
{{- end }}
|
Reference in New Issue
Block a user