fix(authelia): fix broken fetching of old values on authelia (#7764)

* fix(authelia): fix broken fetching of old values on authelia

* fix env and probes

* http

* revert some changes

* update some values in config file
This commit is contained in:
Kjeld Schouten-Lebbing 2023-03-08 00:11:28 +01:00 committed by GitHub
parent 718c92f80a
commit fa929cfaf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 16 deletions

View File

@ -36,7 +36,7 @@ sources:
- https://github.com/authelia/chartrepo - https://github.com/authelia/chartrepo
- https://github.com/authelia/authelia - https://github.com/authelia/authelia
type: application type: application
version: 15.0.7 version: 15.0.8
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- security - security

View File

@ -40,8 +40,9 @@ data:
{{- if not (eq "" (default "" .Values.server.path)) }} {{- if not (eq "" (default "" .Values.server.path)) }}
path: {{ .Values.server.path }} path: {{ .Values.server.path }}
{{- end }} {{- end }}
read_buffer_size: {{ default 4096 .Values.server.read_buffer_size }} buffers:
write_buffer_size: {{ default 4096 .Values.server.write_buffer_size }} write: {{ default 4096 .Values.server.write_buffer_size }}
read: {{ default 4096 .Values.server.read_buffer_size }}
enable_pprof: {{ default false .Values.server.enable_pprof }} enable_pprof: {{ default false .Values.server.enable_pprof }}
enable_expvars: {{ default false .Values.server.enable_expvars }} enable_expvars: {{ default false .Values.server.enable_expvars }}
log: log:
@ -62,7 +63,8 @@ data:
{{- end }} {{- end }}
{{- with $auth := .Values.authentication_backend }} {{- with $auth := .Values.authentication_backend }}
authentication_backend: authentication_backend:
disable_reset_password: {{ $auth.disable_reset_password }} password_reset:
disable: {{ $auth.disable_reset_password }}
{{- if $auth.file.enabled }} {{- if $auth.file.enabled }}
file: file:
path: {{ $auth.file.path }} path: {{ $auth.file.path }}
@ -153,7 +155,8 @@ data:
database: {{ default "authelia" $storage.postgres.database }} database: {{ default "authelia" $storage.postgres.database }}
username: {{ default "authelia" $storage.postgres.username }} username: {{ default "authelia" $storage.postgres.username }}
timeout: {{ default "5s" $storage.postgres.timeout }} timeout: {{ default "5s" $storage.postgres.timeout }}
sslmode: {{ default "disable" $storage.postgres.sslmode }} ssl:
mode: {{ default "disable" $storage.postgres.sslmode }}
{{- end }} {{- end }}
{{- with $notifier := .Values.notifier }} {{- with $notifier := .Values.notifier }}
notifier: notifier:

View File

@ -1,6 +1,8 @@
{{/* Define the secrets */}} {{/* Define the secrets */}}
{{- define "authelia.secrets" -}} {{- define "authelia.secrets" -}}
{{- $autheliaprevious := lookup "v1" "Secret" .Release.Namespace "authelia-secrets" }} {{- $basename := include "tc.v1.common.lib.chart.names.fullname" $ -}}
{{- $fetchname := printf "%s-authelia-secrets" $basename -}}
{{- $autheliaprevious := lookup "v1" "Secret" .Release.Namespace $fetchname }}
{{- $oidckey := "" }} {{- $oidckey := "" }}
{{- $oidcsecret := "" }} {{- $oidcsecret := "" }}
{{- $jwtsecret := "" }} {{- $jwtsecret := "" }}

View File

@ -13,18 +13,18 @@ workload:
envFrom: envFrom:
- configMapRef: - configMapRef:
name: authelia-paths name: authelia-paths
# probes: probes:
# liveness: liveness:
# type: HTTP type: http
# path: /api/health" path: /api/health"
# readiness: readiness:
# type: HTTP type: http
# path: "/api/health" path: "/api/health"
# startup: startup:
# type: HTTP type: http
# path: "/api/health" path: "/api/health"
service: service:
main: main: