Skip to content

Commit

Permalink
fix(authelia): missing server shared keys and adjustments (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-elliott authored Oct 22, 2022
1 parent a953a9a commit e10509c
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 7 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.8.39
version: 0.8.40
kubeVersion: ">= 1.13.0-0"
description: Authelia is a Single Sign-On Multi-Factor portal for web apps
type: application
Expand Down
19 changes: 17 additions & 2 deletions charts/authelia/templates/configMap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,18 @@ data:
headers:
csp_template: {{ .Values.configMap.server.headers.csp_template | default "" | quote }}
{{- end }}
read_buffer_size: {{ default 4096 .Values.configMap.server.read_buffer_size }}
write_buffer_size: {{ default 4096 .Values.configMap.server.write_buffer_size }}
{{- if and (semverCompare ">=4.36.4" (include "authelia.version" .)) }}
buffers:
read: {{ .Values.configMap.server.read_buffer_size | default .Values.configMap.server.buffers.read | default 4096 }}
write: {{ .Values.configMap.server.write_buffer_size | default .Values.configMap.server.buffers.write | default 4096 }}
timeouts:
read: {{ .Values.configMap.server.timeouts.read | default "6s" }}
write: {{ .Values.configMap.server.timeouts.write | default "6s" }}
idle: {{ .Values.configMap.server.timeouts.idle | default "30s" }}
{{- else }}
read_buffer_size: {{ .Values.configMap.server.read_buffer_size | default .Values.configMap.server.buffers.read | default 4096 }}
write_buffer_size: {{ .Values.configMap.server.write_buffer_size | default .Values.configMap.server.buffers.write | default 4096 }}
{{- end }}
enable_pprof: {{ .Values.configMap.server.enable_pprof | default false }}
enable_expvars: {{ .Values.configMap.server.enable_expvars | default false }}
log:
Expand All @@ -46,6 +56,11 @@ data:
metrics:
enabled: {{ .Values.configMap.telemetry.metrics.enabled | default false }}
address: 'tcp://0.0.0.0:{{ .Values.configMap.telemetry.metrics.port | default 9959 }}'
{{- if and (semverCompare ">=4.36.4" (include "authelia.version" .)) }}
buffers:
read: {{ .Values.configMap.telemetry.metrics.buffers.read | default 4096 }}
write: {{ .Values.configMap.telemetry.metrics.buffers.write | default 4096 }}
{{- end }}
{{- end }}
totp:
{{- if semverCompare ">=4.34.0" (include "authelia.version" .) }}
Expand Down
19 changes: 17 additions & 2 deletions charts/authelia/values.local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,14 @@ configMap:
## Explanation at https://www.authelia.com/configuration/miscellaneous/server/
## Read buffer size adjusts the server's max incoming request size in bytes.
## Write buffer size does the same for outgoing responses.
read_buffer_size: 4096
write_buffer_size: 4096
buffers:
read: 4096
write: 4096

timeouts:
read: 6s
write: 6s
idle: 30s

log:
## Level of verbosity for logs: info, debug, trace.
Expand Down Expand Up @@ -471,6 +477,15 @@ configMap:
## The port to listen on for metrics. This should be on a different port to the main server.port value.
port: 9959

buffers:
read: 4096
write: 4096

timeouts:
read: 6s
write: 6s
idle: 30s

serviceMonitor:
enabled: false
annotations: {}
Expand Down
19 changes: 17 additions & 2 deletions charts/authelia/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,14 @@ configMap:
## Explanation at https://www.authelia.com/configuration/miscellaneous/server/
## Read buffer size adjusts the server's max incoming request size in bytes.
## Write buffer size does the same for outgoing responses.
read_buffer_size: 4096
write_buffer_size: 4096
buffers:
read: 4096
write: 4096

timeouts:
read: 6s
write: 6s
idle: 30s

log:
## Level of verbosity for logs: info, debug, trace.
Expand Down Expand Up @@ -469,6 +475,15 @@ configMap:
## The port to listen on for metrics. This should be on a different port to the main server.port value.
port: 9959

buffers:
read: 4096
write: 4096

timeouts:
read: 6s
write: 6s
idle: 30s

serviceMonitor:
enabled: false
annotations: {}
Expand Down

0 comments on commit e10509c

Please sign in to comment.