fix: don't auto-patch argo in bootstrap
This commit is contained in:
+3
-3
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
helm upgrade --install --create-namespace argocd argo/argo-cd -n argocd
|
||||
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
|
||||
helm upgrade --install --create-namespace argocd argo/argo-cd -n argocd --version 7.8.0
|
||||
helm upgrade --install --create-namespace --values values.yaml argocd-apps argo/argocd-apps -n argocd --version 0.0.1
|
||||
#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:
|
||||
template:
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: gitlab-pull-secret
|
||||
containers:
|
||||
- command:
|
||||
- /var/run/argocd/argocd-cmp-server
|
||||
@@ -18,6 +22,6 @@ spec:
|
||||
- mountPath: /home/argocd/cmp-server/plugins
|
||||
name: plugins
|
||||
- mountPath: /tmp
|
||||
name: cmp-tmp
|
||||
name: tmp
|
||||
- mountPath: /helm-working-dir
|
||||
name: helm-working-dir
|
||||
|
||||
Reference in New Issue
Block a user