Convert to jsonnet

This commit is contained in:
Jack Jackson 2024-03-12 21:56:54 -07:00
parent 9dde4b13f0
commit c81296d094
2 changed files with 28 additions and 20 deletions

View File

@ -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"
]
}
}
}

View File

@ -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