fix(argo-cd): Add custom volume as Helm working dir (#1103)
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
parent
e00af60b39
commit
cf57a71a15
2 changed files with 17 additions and 10 deletions
|
@ -2,7 +2,7 @@ apiVersion: v2
|
||||||
appVersion: v2.2.3
|
appVersion: v2.2.3
|
||||||
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 3.32.0
|
version: 3.32.1
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -21,5 +21,4 @@ dependencies:
|
||||||
condition: redis-ha.enabled
|
condition: redis-ha.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Changed]: Update to Argo-CD v2.2.3"
|
- "[Fixed]: Add custom volume as Helm working dir (sync with upstream manifests)"
|
||||||
- "[Changed]: Update Redis to v6.2.6"
|
|
||||||
|
|
|
@ -54,15 +54,19 @@ spec:
|
||||||
{{- if .Values.repoServer.containerSecurityContext }}
|
{{- if .Values.repoServer.containerSecurityContext }}
|
||||||
securityContext: {{- toYaml .Values.repoServer.containerSecurityContext | nindent 10 }}
|
securityContext: {{- toYaml .Values.repoServer.containerSecurityContext | nindent 10 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if or (.Values.repoServer.env) (.Values.openshift.enabled) }}
|
|
||||||
env:
|
env:
|
||||||
|
- name: HELM_CACHE_HOME
|
||||||
|
value: /helm-working-dir
|
||||||
|
- name: HELM_CONFIG_HOME
|
||||||
|
value: /helm-working-dir
|
||||||
|
- name: HELM_DATA_HOME
|
||||||
|
value: /helm-working-dir
|
||||||
{{- if .Values.repoServer.env }}
|
{{- if .Values.repoServer.env }}
|
||||||
{{- toYaml .Values.repoServer.env | nindent 8 }}
|
{{- toYaml .Values.repoServer.env | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.openshift.enabled }}
|
{{- if .Values.openshift.enabled }}
|
||||||
- name: USER_NAME
|
- name: USER_NAME
|
||||||
value: argocd
|
value: argocd
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.repoServer.envFrom }}
|
{{- with .Values.repoServer.envFrom }}
|
||||||
envFrom: {{- toYaml . | nindent 8 }}
|
envFrom: {{- toYaml . | nindent 8 }}
|
||||||
|
@ -87,6 +91,8 @@ spec:
|
||||||
name: argocd-repo-server-tls
|
name: argocd-repo-server-tls
|
||||||
- mountPath: /tmp
|
- mountPath: /tmp
|
||||||
name: tmp-dir
|
name: tmp-dir
|
||||||
|
- mountPath: /helm-working-dir
|
||||||
|
name: helm-working-dir
|
||||||
- mountPath: /home/argocd/cmp-server/plugins
|
- mountPath: /home/argocd/cmp-server/plugins
|
||||||
name: plugins
|
name: plugins
|
||||||
ports:
|
ports:
|
||||||
|
@ -166,6 +172,8 @@ spec:
|
||||||
name: argocd-tls-certs-cm
|
name: argocd-tls-certs-cm
|
||||||
name: tls-certs
|
name: tls-certs
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
- name: helm-working-dir
|
||||||
|
emptyDir: {}
|
||||||
- name: argocd-repo-server-tls
|
- name: argocd-repo-server-tls
|
||||||
secret:
|
secret:
|
||||||
items:
|
items:
|
||||||
|
|
Loading…
Reference in a new issue