Refactor ArgoCD patch to update inline manifests and repository URL

This commit is contained in:
Marco van Zijl 2025-05-02 22:32:40 +02:00
parent 7552c56d28
commit 7c7085d31e

View File

@ -1,6 +1,5 @@
- op: add cluster:
path: /cluster/inlineManifests inlineManifests:
value:
- name: argocd-namespace - name: argocd-namespace
contents: | contents: |
apiVersion: v1 apiVersion: v1
@ -17,9 +16,9 @@
spec: spec:
project: default project: default
source: source:
repoURL: https://github.com/argoproj/argo-cd-example-apps.git repoURL: https://git.mvzijl.nl/marco/veda.git
targetRevision: HEAD targetRevision: HEAD
path: guestbook path: applications
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: default namespace: default