Skip to content

Commit

Permalink
Allow configuration via env in helm chart (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
nenadalm authored Nov 10, 2021
1 parent 7b6588b commit 2cbcf28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions charts/dex-k8s-authenticator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
args: [ "--config", "config.yaml" ]
{{- with .Values.envFrom }}
envFrom:
{{- toYaml . | nindent 10 }}
{{- end }}
ports:
- name: http
containerPort: {{ default "5555" .Values.dexK8sAuthenticator.port }}
Expand Down
3 changes: 2 additions & 1 deletion charts/dex-k8s-authenticator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ image:
repository: mintel/dex-k8s-authenticator
tag: 1.4.0
pullPolicy: Always

imagePullSecrets: {}

dexK8sAuthenticator:
Expand Down Expand Up @@ -89,6 +89,7 @@ caCerts:
# filename: ca2.crt
# value: DS1tFA1......X2F

envFrom: []

nodeSelector: {}

Expand Down

0 comments on commit 2cbcf28

Please sign in to comment.