Skip to content

Commit

Permalink
truncate image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
BeryJu committed Jun 26, 2023
1 parent f4fb319 commit 9d80a97
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 2 deletions.
40 changes: 40 additions & 0 deletions charts/authentik/ci/ct-values-pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
replicas: 1

worker:
replicas: 1

image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-stages-authenticator_validate-fix-regression-1687776866-22f27e4
pullPolicy: IfNotPresent

ingress:
enabled: true
hosts:
- host: authentik.domain.tld
paths:
- path: "/"
pathType: Prefix

authentik:
log_level: debug
secret_key: 5up3r53cr37K3y
postgresql:
password: au7h3n71k
redis:
password: au7h3n71k

postgresql:
enabled: true
postgresqlPassword: au7h3n71k
persistence:
enabled: false

redis:
enabled: true
auth:
enabled: true
password: au7h3n71k

blueprints:
- authentik-ci-blueprint
2 changes: 1 addition & 1 deletion charts/authentik/templates/server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
labels:
{{- include "authentik.labels.selectorLabels" $ | nindent 8 }}
app.kubernetes.io/component: "server"
app.kubernetes.io/version: "{{ $.Values.image.tag }}"
app.kubernetes.io/version: "{{ trunc 63 $.Values.image.tag }}"
annotations:
goauthentik.io/config-checksum: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
{{- if $.Values.podAnnotations }}
Expand Down
2 changes: 1 addition & 1 deletion charts/authentik/templates/worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
labels:
{{- include "authentik.labels.selectorLabels" $ | nindent 8 }}
app.kubernetes.io/component: "worker"
app.kubernetes.io/version: "{{ $.Values.image.tag }}"
app.kubernetes.io/version: "{{ trunc 63 $.Values.image.tag }}"
annotations:
goauthentik.io/config-checksum: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
{{- if $.Values.podAnnotations }}
Expand Down

0 comments on commit 9d80a97

Please sign in to comment.