diff --git a/apps/templates/helm-guestbook.yaml b/apps/templates/helm-guestbook.yaml index 1044122..2b54149 100644 --- a/apps/templates/helm-guestbook.yaml +++ b/apps/templates/helm-guestbook.yaml @@ -12,7 +12,7 @@ spec: project: default source: path: helm-guestbook - repoURL: https://github.com/argoproj/argocd-example-apps + repoURL: {{ .Values.spec.source.repoURL }} targetRevision: {{ .Values.spec.source.targetRevision }} syncPolicy: automated: diff --git a/apps/templates/kustomize-guestbook.yaml b/apps/templates/kustomize-guestbook.yaml index f07e883..7482a71 100644 --- a/apps/templates/kustomize-guestbook.yaml +++ b/apps/templates/kustomize-guestbook.yaml @@ -12,7 +12,7 @@ spec: project: default source: path: kustomize-guestbook - repoURL: https://github.com/argoproj/argocd-example-apps + repoURL: {{ .Values.spec.source.repoURL }} targetRevision: {{ .Values.spec.source.targetRevision }} syncPolicy: automated: diff --git a/apps/templates/sync-waves.yaml b/apps/templates/sync-waves.yaml index cd6a0ad..3875ede 100644 --- a/apps/templates/sync-waves.yaml +++ b/apps/templates/sync-waves.yaml @@ -11,8 +11,8 @@ spec: server: {{ .Values.spec.destination.server }} project: default source: - path: guestbook - repoURL: https://github.com/argoproj/argocd-example-apps + path: sync-waves + repoURL: {{ .Values.spec.source.repoURL }} targetRevision: {{ .Values.spec.source.targetRevision }} syncPolicy: automated: diff --git a/apps/values.yaml b/apps/values.yaml index 6f16640..cd66cc0 100644 --- a/apps/values.yaml +++ b/apps/values.yaml @@ -2,4 +2,5 @@ spec: destination: server: https://kubernetes.default.svc source: + repoURL: https://github.com/argoproj/argocd-example-apps targetRevision: HEAD \ No newline at end of file