diff --git a/app-of-apps/guestbook.jsonnet b/app-of-apps/guestbook.jsonnet new file mode 100644 index 0000000..187b7fa --- /dev/null +++ b/app-of-apps/guestbook.jsonnet @@ -0,0 +1,28 @@ +{ + apiVersion: "argoproj.io/v1alpha1", + kind: "Application", + metadata: { + name: "helm-guestbook", + namespace: "argo", + finalizers: [ + "resources-finalizer.argocd.argoproj.io" + ] + }, + spec: { + destination: { + namespace: "helm-guestbook", + server: "https://kubernetes.default.svc" + }, + project: "default", + source: { + path: "helm-guestbook", + repoURL: "https://github.com/argoproj/argocd-example-apps", + targetRevision: "HEAD" + }, + syncPolicy: { + syncOptions: [ + "CreateNamespace=true" + ] + } + } +} diff --git a/app-of-apps/guestbook.yaml b/app-of-apps/guestbook.yaml deleted file mode 100644 index b49215e..0000000 --- a/app-of-apps/guestbook.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: helm-guestbook - namespace: argo - finalizers: - - resources-finalizer.argocd.argoproj.io -spec: - destination: - namespace: helm-guestbook - server: https://kubernetes.default.svc - project: default - source: - path: helm-guestbook - repoURL: https://github.com/argoproj/argocd-example-apps - targetRevision: HEAD - syncPolicy: - syncOptions: - - CreateNamespace=true -