Compare commits
2 commits
54119b3b1f
...
0d38a4d87c
Author | SHA1 | Date | |
---|---|---|---|
|
0d38a4d87c | ||
111083334b |
7 changed files with 29 additions and 5 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
name: authentik-application
|
name: authentik-application
|
||||||
description: "A Chart to deploy a secret for the authentik blueprint-sidecar."
|
description: "A Chart to deploy a secret for the authentik blueprint-sidecar."
|
||||||
type: application
|
type: application
|
||||||
version: "0.4.6"
|
version: "0.4.7"
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: WrenIX
|
- name: WrenIX
|
||||||
url: https://wrenix.eu
|
url: https://wrenix.eu
|
||||||
|
|
|
@ -7,7 +7,7 @@ description: "A Chart to deploy a secret for the authentik blueprint-sidecar."
|
||||||
|
|
||||||
# authentik-application
|
# authentik-application
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
A Chart to deploy a secret for the authentik blueprint-sidecar.
|
A Chart to deploy a secret for the authentik blueprint-sidecar.
|
||||||
|
|
||||||
|
|
7
authentik-application/ci/ct-redirect-values.yaml
Normal file
7
authentik-application/ci/ct-redirect-values.yaml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
blueprint:
|
||||||
|
provider:
|
||||||
|
oidc:
|
||||||
|
redirectURL:
|
||||||
|
- matching_mode: "regex"
|
||||||
|
url: "https://regex.url"
|
||||||
|
- "https://url"
|
|
@ -28,8 +28,20 @@
|
||||||
client_id: {{ $clientID | quote }}
|
client_id: {{ $clientID | quote }}
|
||||||
client_secret: {{ $clientSecret | quote }}
|
client_secret: {{ $clientSecret | quote }}
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
|
{{- if (kindIs "string" .redirectURL) }}
|
||||||
- matching_mode: "strict"
|
- matching_mode: "strict"
|
||||||
url: {{ .redirectURL | quote }}
|
url: {{ .redirectURL | quote }}
|
||||||
|
{{- else }}
|
||||||
|
{{- range $url := .redirectURL }}
|
||||||
|
{{- if (kindIs "string" $url) }}
|
||||||
|
- matching_mode: "strict"
|
||||||
|
url: {{ $url | quote }}
|
||||||
|
{{- else }}
|
||||||
|
{{- toYaml (list $url) | nindent 6 }}
|
||||||
|
{{- end }}{{/* one of is a string -> else is a object */}}
|
||||||
|
{{- end }}{{/* one of range */}}
|
||||||
|
{{- end }}{{/* redirect is a string -> else is a slice */}}
|
||||||
|
|
||||||
{{- with .tokenDuration }}
|
{{- with .tokenDuration }}
|
||||||
access_token_validity: {{ . | quote }}
|
access_token_validity: {{ . | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -21,7 +21,12 @@ stringData:
|
||||||
clientID: {{ $clientID | quote }}
|
clientID: {{ $clientID | quote }}
|
||||||
clientSecret: {{ $clientSecret | quote }}
|
clientSecret: {{ $clientSecret | quote }}
|
||||||
|
|
||||||
redirectURL: {{ .redirectURL }}
|
{{- if (kindIs "string" .redirectURL) }}
|
||||||
|
redirectURL: {{ .redirectURL | quote }}
|
||||||
|
{{- else }}
|
||||||
|
{{- $url := .redirectURL | first}}
|
||||||
|
redirectURL: {{ ternary $url (get $url "url") (kindIs "string" .redirectURL) | quote }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
{{- with .tokenDuration }}
|
{{- with .tokenDuration }}
|
||||||
tokenDuration: {{ . | quote }}
|
tokenDuration: {{ . | quote }}
|
||||||
|
|
|
@ -70,7 +70,7 @@ wellknown:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
# -- image tag
|
# -- image tag
|
||||||
# @section -- well known
|
# @section -- well known
|
||||||
tag: "1.27.5"
|
tag: "1.28.0"
|
||||||
|
|
||||||
# -- replicas
|
# -- replicas
|
||||||
# @section -- well known
|
# @section -- well known
|
||||||
|
|
|
@ -615,7 +615,7 @@ wellknown:
|
||||||
image:
|
image:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: library/nginx
|
repository: library/nginx
|
||||||
tag: 1.27.5
|
tag: 1.28.0
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue