Skip to content

Commit

Permalink
feat(authelia): prepare for 4.30.0 (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-elliott authored Jul 9, 2021
1 parent 4535759 commit 54dc06e
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/authelia/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: authelia
version: 0.4.13
version: 0.4.14
kubeVersion: ">= 1.13.0-0"
description: Authelia is a Single Sign-On Multi-Factor portal for web apps
type: application
Expand Down
2 changes: 1 addition & 1 deletion charts/authelia/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ The `*` below can be one of any of the following values:
|secret.labels |A map of extra labels to add to the Secret |{} |
|secret.existingSecret |The name of the existing Secret instead of generating |nil |
|secret.mountPath |The path where to mount all of the secrets |/secrets |
|secret.*.key |The key in the secret where the JWT token is stored |varies |
|secret.*.key |The key in the secret where the secret value is stored |varies |
|secret.*.value |The value to inject into this secret when generating |nil |
|secret.*.filename |The filename of this secret within the mountPath |varies |

Expand Down
15 changes: 15 additions & 0 deletions charts/authelia/templates/configMap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,21 @@ data:
{{- if .Values.configMap.identity_providers.oidc.enabled }}
identity_providers:
oidc:
{{- if hasKey .Values.configMap.identity_providers.oidc "access_token_lifespan" }}
access_token_lifespan: {{ .Values.configMap.identity_providers.oidc.access_token_lifespan }}
{{- end }}
{{- if hasKey .Values.configMap.identity_providers.oidc "authorize_code_lifespan" }}
authorize_code_lifespan: {{ .Values.configMap.identity_providers.oidc.authorize_code_lifespan }}
{{- end }}
{{- if hasKey .Values.configMap.identity_providers.oidc "id_token_lifespan" }}
id_token_lifespan: {{ .Values.configMap.identity_providers.oidc.id_token_lifespan }}
{{- end }}
{{- if hasKey .Values.configMap.identity_providers.oidc "refresh_token_lifespan" }}
refresh_token_lifespan: {{ .Values.configMap.identity_providers.oidc.refresh_token_lifespan }}
{{- end }}
{{- if hasKey .Values.configMap.identity_providers.oidc "enable_client_debug_messages" }}
enable_client_debug_messages: {{ .Values.configMap.identity_providers.oidc.enable_client_debug_messages }}
{{- end }}
clients:
{{- range $client := .Values.configMap.identity_providers.oidc.clients }}
- id: {{ $client.id }}
Expand Down
8 changes: 8 additions & 0 deletions charts/authelia/values.local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,14 @@ configMap:
oidc:
## Enables this in the config map. Currently in beta stage.
enabled: false

# access_token_lifespan: 1h
# authorize_code_lifespan: 1m
# id_token_lifespan: 1h
# refresh_token_lifespan: 720h

# enable_client_debug_messages: false

clients: []
# - id: myapp
# description: My Application
Expand Down
10 changes: 9 additions & 1 deletion charts/authelia/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,15 @@ configMap:
identity_providers:
oidc:
## Enables this in the config map. Currently in beta stage.
enabled: false
enabled: true

# access_token_lifespan: 1h
# authorize_code_lifespan: 1m
# id_token_lifespan: 1h
# refresh_token_lifespan: 720h

# enable_client_debug_messages: false

clients: []
# - id: myapp
# description: My Application
Expand Down

0 comments on commit 54dc06e

Please sign in to comment.