mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
fix(chart): uses envFrom only to inject secrets and conf
This commit is contained in:
@@ -38,17 +38,6 @@ spec:
|
||||
- secretRef:
|
||||
name: {{ $frontend.kubeSecretRef }}
|
||||
{{- 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:
|
||||
- containerPort: 3000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user