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/authelia
type: application
version: 15.0.7
version: 15.0.8
annotations:
truecharts.org/catagories: |
- security

View File

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

View File

@ -1,6 +1,8 @@
{{/* Define the 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 := "" }}
{{- $oidcsecret := "" }}
{{- $jwtsecret := "" }}

View File

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