fix: don't auto-patch argo in bootstrap

This commit is contained in:
2025-09-14 07:58:52 +02:00
parent 926f94bf8b
commit 378ee6bd37
2 changed files with 8 additions and 4 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
helm upgrade --install --create-namespace argocd argo/argo-cd -n argocd helm upgrade --install --create-namespace argocd argo/argo-cd -n argocd --version 7.8.0
kubectl patch -n argocd deployment argocd-repo-server --type merge --patch-file helmfile-cmp/argo-repo-server-patch.yaml helm upgrade --install --create-namespace --values values.yaml argocd-apps argo/argocd-apps -n argocd --version 0.0.1
helm upgrade --install --create-namespace --values values.yaml argocd-apps argo/argocd-apps -n argocd #kubectl patch -n argocd deployment argocd-repo-server --type merge --patch-file helmfile-cmp/argo-repo-server-patch.yaml
@@ -1,6 +1,10 @@
# Don't apply this patch with kubectl, it overwrites the original repo-server!
# Instead merge by hand in the bootstap process.
spec: spec:
template: template:
spec: spec:
imagePullSecrets:
- name: gitlab-pull-secret
containers: containers:
- command: - command:
- /var/run/argocd/argocd-cmp-server - /var/run/argocd/argocd-cmp-server
@@ -18,6 +22,6 @@ spec:
- mountPath: /home/argocd/cmp-server/plugins - mountPath: /home/argocd/cmp-server/plugins
name: plugins name: plugins
- mountPath: /tmp - mountPath: /tmp
name: cmp-tmp name: tmp
- mountPath: /helm-working-dir - mountPath: /helm-working-dir
name: helm-working-dir name: helm-working-dir