fix(argo-cd) Make argocd-server /home/argocd/.aws writeable when using readOnlyRootFilesystem=false security context (#1006)
Signed-off-by: Simon Ninon <simon.ninon@gmail.com>
This commit is contained in:
parent
c1e7213cdc
commit
b8c689e3c7
2 changed files with 10 additions and 2 deletions
|
|
@ -90,6 +90,10 @@ spec:
|
|||
subPath: "custom.styles.css"
|
||||
name: custom-styles
|
||||
{{- end }}
|
||||
{{- if .Values.server.containerSecurityContext.readOnlyRootFilesystem }}
|
||||
- mountPath: /home/argocd/.aws
|
||||
name: aws-config
|
||||
{{- end }}
|
||||
- mountPath: /tmp
|
||||
name: tmp-dir
|
||||
ports:
|
||||
|
|
@ -164,6 +168,10 @@ spec:
|
|||
name: static-files
|
||||
- emptyDir: {}
|
||||
name: tmp-dir
|
||||
{{- if .Values.server.containerSecurityContext.readOnlyRootFilesystem }}
|
||||
- emptyDir: {}
|
||||
name: aws-config
|
||||
{{- end }}
|
||||
{{- if .Values.configs.styles }}
|
||||
- configMap:
|
||||
name: argocd-custom-styles
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue