Skip to content

Commit

Permalink
Move imagePullSecrets into image as suggested.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikogan committed Oct 11, 2021
1 parent 1523ec4 commit b65025c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 7 additions & 2 deletions charts/authentik/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ spec:
{{- include "common.labels.selectorLabels" $ | nindent 8 }}
app.kubernetes.io/component: "{{ . }}"
spec:
{{- if $.Values.imagePullSecrets }}
{{- if $.Values.image.pullSecrets }}
imagePullSecrets:
{{- toYaml $.Values.imagePullSecrets | nindent 8 }}
{{- toYaml $.Values.image.pullSecrets | nindent 8 }}
{{- end }}
{{- if $.Values.serviceAccount.create }}
serviceAccountName: {{ include "common.names.fullname" $ }}
Expand All @@ -51,6 +51,11 @@ spec:
valueFrom:
{{- toYaml $val | nindent 16 }}
{{- end }}
{{- if $.Values.imagePullSecrets }}
- name: AUTHENTIK_OUTPOSTS__KUBERNETES_IMAGE_PULL_SECRETS
value: |
{{ toJson $.Values.imagePullSecrets }}
{{- end }}
{{- with $.Values.envFrom }}
envFrom:
{{- toYaml . | nindent 12 }}
Expand Down
3 changes: 1 addition & 2 deletions charts/authentik/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ worker:
# -- worker replicas
replicas: 1

imagePullSecrets: []

image:
repository: ghcr.io/goauthentik/server
tag: 2021.9.1
pullPolicy: IfNotPresent
pullSecrets: []

ingress:
enabled: false
Expand Down

0 comments on commit b65025c

Please sign in to comment.