Skip to content

Commit 997529d

Browse files
fix(authelia): config dir missing on minimal setup (#288)
Fix an issue where the config dir is missing on minimal setups with 4.39.0.
1 parent 2fee2f6 commit 997529d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

charts/authelia/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: authelia
3-
version: 0.10.3
3+
version: 0.10.4
44
kubeVersion: ">= 1.13.0-0"
55
description: Authelia is a Single Sign-On Multi-Factor portal for web apps
66
type: application

charts/authelia/templates/deployment.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,10 @@ spec:
238238
{{- with $mountPropagation := .Values.persistence.mountPropagation }}
239239
mountPropagation: {{ $mountPropagation }}
240240
{{- end }}
241+
{{- else if and (eq (len .Values.pod.extraVolumes) 0) (eq (len .Values.pod.extraVolumeMounts) 0) }}
242+
- mountPath: /config
243+
name: authelia
244+
readOnly: false
241245
{{- end }}
242246
{{- if (include "authelia.enabled.configMap" .) }}
243247
- mountPath: /configuration.yaml
@@ -282,6 +286,10 @@ spec:
282286
- name: authelia
283287
persistentVolumeClaim:
284288
claimName: {{ default (include "authelia.name" .) .Values.persistence.existingClaim }}
289+
{{- else if and (eq (len .Values.pod.extraVolumes) 0) (eq (len .Values.pod.extraVolumeMounts) 0) }}
290+
- name: authelia
291+
emptyDir:
292+
sizeLimit: 100Mi
285293
{{- end }}
286294
{{- if (include "authelia.enabled.configMap" .) }}
287295
- name: config

0 commit comments

Comments
 (0)