Skip to content

Commit

Permalink
Merge pull request #2639 from devjoes/main
Browse files Browse the repository at this point in the history
charts: fix: allow env vars to be set when reading others from secrets
  • Loading branch information
knrt10 authored Dec 17, 2024
2 parents c97a07c + d5bdea9 commit 0b6bf6e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/headlamp/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ spec:
envFrom:
- secretRef:
name: {{ $oidc.externalSecret.name }}
{{- if .Values.env }}
env:
{{- toYaml .Values.env | nindent 12 }}
{{- end }}
{{- else }}
env:
{{- if $oidc.secret.create }}
Expand Down

0 comments on commit 0b6bf6e

Please sign in to comment.