Skip to content

Commit

Permalink
Add optional container image digest (#88)
Browse files Browse the repository at this point in the history
* Add image digest value

* Bump chart version

* don't bump yet despite what CI says

Co-authored-by: Jens Langhammer <[email protected]>
  • Loading branch information
icekom and BeryJu authored Sep 23, 2022
1 parent 58b18ee commit 90813b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions charts/authentik/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ redis:
| image.pullSecrets | list | `[]` | |
| image.repository | string | `"ghcr.io/goauthentik/server"` | |
| image.tag | string | `"2022.8.2"` | |
| image.digest | string | `nil` | optional container image digest |
| ingress.annotations | object | `{}` | |
| ingress.enabled | bool | `false` | |
| ingress.hosts[0].host | string | `"authentik.domain.tld"` | |
Expand Down
2 changes: 1 addition & 1 deletion charts/authentik/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ spec:
{{- end }}
containers:
- name: {{ $.Chart.Name }}
image: "{{ $.Values.image.repository }}:{{ $.Values.image.tag }}"
image: "{{ $.Values.image.repository }}:{{ $.Values.image.tag }}{{- if $.Values.image.digest -}}@{{ $.Values.image.digest }}{{- end -}}"
imagePullPolicy: "{{ $.Values.image.pullPolicy }}"
args: [{{ quote . }}]
env:
Expand Down
1 change: 1 addition & 0 deletions charts/authentik/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ worker:
image:
repository: ghcr.io/goauthentik/server
tag: 2022.8.2
digest:
pullPolicy: IfNotPresent
pullSecrets: []

Expand Down

0 comments on commit 90813b4

Please sign in to comment.