KubeZero/charts/kubezero-argo/argo-cd.patch

31 lines
1.4 KiB
Diff

diff '--color=auto' -tuNr charts/argo-cd/templates/argocd-repo-server/deployment.yaml charts/argo-cd-zdt/templates/argocd-repo-server/deployment.yaml
--- charts/argo-cd/templates/argocd-repo-server/deployment.yaml 2025-06-18 12:04:38.000000000 +0000
+++ charts/argo-cd-zdt/templates/argocd-repo-server/deployment.yaml 2025-06-23 11:53:06.143990905 +0000
@@ -386,13 +386,10 @@
{{- end }}
initContainers:
- command:
- - /bin/cp
- - -n
- - /usr/local/bin/argocd
- - /var/run/argocd/argocd-cmp-server
+ - /usr/local/bin/create-kubectl-config.sh
image: {{ default .Values.global.image.repository .Values.repoServer.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.repoServer.image.tag }}
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.repoServer.image.imagePullPolicy }}
- name: copyutil
+ name: setup-plugins
resources:
{{- toYaml .Values.repoServer.resources | nindent 10 }}
{{- with .Values.repoServer.containerSecurityContext }}
@@ -400,8 +397,8 @@
{{- toYaml . | nindent 10 }}
{{- end }}
volumeMounts:
- - mountPath: /var/run/argocd
- name: var-files
+ - mountPath: /home/argocd/cmp-server/plugins
+ name: plugins
{{- with .Values.repoServer.initContainers }}
{{- tpl (toYaml .) $ | nindent 6 }}
{{- end }}