forked from argoproj/argo-helm
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>main argo-cd-3.26.6
parent
c1e7213cdc
commit
b8c689e3c7
|
@ -2,7 +2,7 @@ apiVersion: v2
|
|||
appVersion: v2.1.6
|
||||
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||
name: argo-cd
|
||||
version: 3.26.5
|
||||
version: 3.26.6
|
||||
home: https://github.com/argoproj/argo-helm
|
||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||
keywords:
|
||||
|
@ -21,4 +21,4 @@ dependencies:
|
|||
condition: redis-ha.enabled
|
||||
annotations:
|
||||
artifacthub.io/changes: |
|
||||
- "[Changed]: README update to reflect correct helm install syntax"
|
||||
- "[Changed]: Make argocd-server /home/argocd/.aws writeable when using readOnlyRootFilesystem=false security context"
|
||||
|
|
|
@ -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…
Reference in New Issue