Skip to content

Commit

Permalink
feat: modify dex expiry
Browse files Browse the repository at this point in the history
  • Loading branch information
Simone Bruzzese committed Aug 23, 2024
1 parent 40abf2d commit 92f642e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions defaults/ekscluster-kfd-v1alpha2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,9 @@ data:
# see dex documentation for more information
connectors: []
additionalStaticClients: []
expiry:
signingKeys: "6h"
idTokens: "24h"
oidcKubernetesAuth: # only needed as default
enabled: false
baseDomain: ""
Expand Down
3 changes: 3 additions & 0 deletions defaults/kfddistribution-kfd-v1alpha2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,9 @@ data:
# see dex documentation for more information
connectors: []
additionalStaticClients: []
expiry:
signingKeys: "6h"
idTokens: "24h"
oidcKubernetesAuth: # only needed as default
enabled: false
baseDomain: ""
Expand Down
3 changes: 3 additions & 0 deletions defaults/onpremises-kfd-v1alpha2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,9 @@ data:
# see dex documentation for more information
connectors: []
additionalStaticClients: []
expiry:
signingKeys: "6h"
idTokens: "24h"
oidcKubernetesAuth:
enabled: false
baseDomain: ""
Expand Down
5 changes: 4 additions & 1 deletion templates/distribution/manifests/auth/secrets/dex.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,7 @@ staticClients:
{{- end }}
{{- if .spec.distribution.modules.auth.dex.additionalStaticClients }}
{{ .spec.distribution.modules.auth.dex.additionalStaticClients | toYaml }}
{{- end }}
{{- end }}
expiry:
signingKeys: {{ .spec.distribution.modules.auth.dex.expiry.signingKeys }}
idTokens: {{ .spec.distribution.modules.auth.dex.expiry.idTokens }}

0 comments on commit 92f642e

Please sign in to comment.