Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions charts/authentik/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ The secret `authentik-postgres-credentials` must have `username` and `password`
| authentik.redis.host | string | `{{ .Release.Name }}-redis-master` | set the redis hostname to talk to |
| authentik.redis.password | string | `""` | |
| authentik.secret_key | string | `""` | Secret key used for cookie singing and unique user IDs, don't change this after the first install |
| authentik.web.path | string | `"/"` | Relative path the authentik instance will be available at. Value _must_ contain both a leading and trailing slash. |
Comment thread
BeryJu marked this conversation as resolved.
| blueprints.configMaps | list | `[]` | List of config maps to mount blueprints from. Only keys in the configMap ending with `.yaml` will be discovered and applied. |
| blueprints.secrets | list | `[]` | List of secrets to mount blueprints from. Only keys in the secret ending with `.yaml` will be discovered and applied. |
| fullnameOverride | string | `""` | String to fully override `"authentik.fullname"`. Prefer using global.fullnameOverride if possible |
Expand Down Expand Up @@ -217,12 +218,12 @@ The secret `authentik-postgres-credentials` must have `username` and `password`
| server.ingress.ingressClassName | string | `""` | defines which ingress controller will implement the resource |
| server.ingress.labels | object | `{}` | additional ingress labels |
| server.ingress.pathType | string | `"Prefix"` | Ingress path type. One of `Exact`, `Prefix` or `ImplementationSpecific` |
| server.ingress.paths | list | `["/"]` | List of ingress paths |
| server.ingress.paths | list | `["{{ .Values.authentik.web.path }}"]` | List of ingress paths |
| server.ingress.tls | list | `[]` | ingress TLS configuration |
| server.initContainers | list | `[]` | Init containers to add to the authentik server pod # Note: Supports use of custom Helm templates |
| server.lifecycle | object | `{}` | Specify postStart and preStop lifecycle hooks for you authentik server container |
| server.livenessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
| server.livenessProbe.httpGet.path | string | `"/-/health/live/"` | |
| server.livenessProbe.httpGet.path | string | `"{{ .Values.authentik.web.path }}-/health/live/"` | |
| server.livenessProbe.httpGet.port | string | `"http"` | |
| server.livenessProbe.initialDelaySeconds | int | `5` | Number of seconds after the container has started before [probe] is initiated |
| server.livenessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
Expand Down Expand Up @@ -257,7 +258,7 @@ The secret `authentik-postgres-credentials` must have `username` and `password`
| server.podLabels | object | `{}` | Labels to be added to the authentik server pods |
| server.priorityClassName | string | `""` (defaults to global.priorityClassName) | Prority class for the authentik server pods |
| server.readinessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
| server.readinessProbe.httpGet.path | string | `"/-/health/ready/"` | |
| server.readinessProbe.httpGet.path | string | `"{{ .Values.authentik.web.path }}-/health/ready/"` | |
| server.readinessProbe.httpGet.port | string | `"http"` | |
| server.readinessProbe.initialDelaySeconds | int | `5` | Number of seconds after the container has started before [probe] is initiated |
| server.readinessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
Expand All @@ -283,7 +284,7 @@ The secret `authentik-postgres-credentials` must have `username` and `password`
| server.service.type | string | `"ClusterIP"` | authentik server service type |
| server.serviceAccountName | string | `nil` | serviceAccount to use for authentik server pods |
| server.startupProbe.failureThreshold | int | `60` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
| server.startupProbe.httpGet.path | string | `"/-/health/live/"` | |
| server.startupProbe.httpGet.path | string | `"{{ .Values.authentik.web.path }}-/health/live/"` | |
| server.startupProbe.httpGet.port | string | `"http"` | |
| server.startupProbe.initialDelaySeconds | int | `5` | Number of seconds after the container has started before [probe] is initiated |
| server.startupProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
Expand Down
6 changes: 3 additions & 3 deletions charts/authentik/templates/server/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@ spec:
protocol: TCP
{{- with .Values.server.livenessProbe }}
livenessProbe:
{{ toYaml . | nindent 12 }}
{{ tpl (toYaml .) $ | nindent 12 }}
{{- end }}
{{- with .Values.server.readinessProbe }}
readinessProbe:
{{ toYaml . | nindent 12 }}
{{ tpl (toYaml .) $ | nindent 12 }}
{{- end }}
{{- with .Values.server.startupProbe }}
startupProbe:
{{ toYaml . | nindent 12 }}
{{ tpl (toYaml .) $ | nindent 12 }}
{{- end }}
resources:
{{- toYaml .Values.server.resources | nindent 12 }}
Expand Down
4 changes: 2 additions & 2 deletions charts/authentik/templates/server/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
{{- toYaml . | nindent 10 }}
{{- end }}
{{- range $p := $paths }}
- path: {{ $p }}
- path: {{ tpl (toYaml $p) $ }}
pathType: {{ $pathType }}
backend:
service:
Expand All @@ -51,7 +51,7 @@ spec:
{{- toYaml . | nindent 10 }}
{{- end }}
{{- range $p := $paths }}
- path: {{ $p }}
- path: {{ tpl (toYaml $p) $ }}
pathType: {{ $pathType }}
backend:
service:
Expand Down
11 changes: 7 additions & 4 deletions charts/authentik/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,9 @@ authentik:
geoip: /geoip/GeoLite2-City.mmdb
# -- Path for the GeoIP ASN database. If the file doesn't exist, GeoIP features are disabled.
asn: /geoip/GeoLite2-ASN.mmdb
web:
# -- Relative path the authentik instance will be available at. Value _must_ contain both a leading and trailing slash.
path: /
email:
# -- SMTP Server emails are sent from, fully optional
host: ""
Expand Down Expand Up @@ -408,7 +411,7 @@ server:
timeoutSeconds: 1
## Probe configuration
httpGet:
path: /-/health/live/
path: "{{ .Values.authentik.web.path }}-/health/live/"
port: http

readinessProbe:
Expand All @@ -424,7 +427,7 @@ server:
timeoutSeconds: 1
## Probe configuration
httpGet:
path: /-/health/ready/
path: "{{ .Values.authentik.web.path }}-/health/ready/"
port: http

startupProbe:
Expand All @@ -440,7 +443,7 @@ server:
timeoutSeconds: 1
## Probe configuration
httpGet:
path: /-/health/live/
path: "{{ .Values.authentik.web.path }}-/health/live/"
port: http

# -- terminationGracePeriodSeconds for container lifecycle hook
Expand Down Expand Up @@ -574,7 +577,7 @@ server:

# -- List of ingress paths
paths:
- /
- "{{ .Values.authentik.web.path }}"
# -- Ingress path type. One of `Exact`, `Prefix` or `ImplementationSpecific`
pathType: Prefix
# -- additional ingress paths
Expand Down