mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 15:27:46 +00:00
fix(chart): uses envFrom only to inject secrets and conf
This commit is contained in:
@@ -38,17 +38,6 @@ spec:
|
|||||||
- secretRef:
|
- secretRef:
|
||||||
name: {{ $frontend.kubeSecretRef }}
|
name: {{ $frontend.kubeSecretRef }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
# Below variables should be defined available through the above secretRef secret
|
|
||||||
{{- if .Values.frontendEnvironmentVariables }}
|
|
||||||
env:
|
|
||||||
{{- range $key, $value := .Values.frontendEnvironmentVariables }}
|
|
||||||
{{- if $value | quote | eq "MUST_REPLACE" }}
|
|
||||||
{{ fail "Environment variables are not set. Please set all environment variables to continue." }}
|
|
||||||
{{ end }}
|
|
||||||
- name: {{ $key }}
|
|
||||||
value: {{ quote $value }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 3000
|
- containerPort: 3000
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user