Convert to jsonnet
This commit is contained in:
parent
9dde4b13f0
commit
c81296d094
28
app-of-apps/guestbook.jsonnet
Normal file
28
app-of-apps/guestbook.jsonnet
Normal 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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -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
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user