-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(authelia): incorrect mount path for configmap (#62)
The mount path for the PVC was being overridden by the mount path for the configmap. This resolves this issue and also moves all non-dynamic data (i.e. certs, cecrets, configmaps) out of the config volume.
- Loading branch information
1 parent
044c88c
commit f6d86f7
Showing
7 changed files
with
25 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,7 +95,7 @@ spec: | |
{{- end }} | ||
command: ["authelia"] | ||
args: | ||
- --config=/config/configuration.yaml | ||
- --config=/configuration.yaml | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
james-d-elliott
Author
Member
|
||
{{- with $resources :=.Values.pod.resources }} | ||
resources: {{ toYaml $resources | nindent 10 }} | ||
{{- end }} | ||
|
@@ -162,23 +162,24 @@ spec: | |
{{- end }} | ||
{{- with $subPathExpr := .Values.persistence.subPathExpr }} | ||
subPathExpr: {{ $subPathExpr }} | ||
{{- end }} | ||
{{- with $mountPropagation := .Values.persistence.mountPropagation }} | ||
mountPropagation: {{ $mountPropagation }} | ||
{{- end }} | ||
{{- with $mountPropagation := .Values.persistence.mountPropagation }} | ||
mountPropagation: {{ $mountPropagation }} | ||
{{- end }} | ||
{{- end }} | ||
{{- if (include "authelia.enabled.configMap" .) }} | ||
- mountPath: /config | ||
- mountPath: /configuration.yaml | ||
name: config | ||
readOnly: false | ||
readOnly: true | ||
subPath: configuration.yaml | ||
{{- end }} | ||
{{- if not (include "authelia.enabled.injector" .) }} | ||
- mountPath: {{ include "authelia.secret.mountPath" . }} | ||
name: secrets | ||
readOnly: true | ||
{{- end }} | ||
{{- if (include "authelia.enabled.certificatesSecret" .) }} | ||
- mountPath: /config/certificates | ||
- mountPath: /certificates | ||
name: certificates | ||
readOnly: true | ||
{{- end }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is generating an error when PVC is used, as the volume is mounted on /config.