stacks/basic/package1/app.yaml
Manabu McCloskey 388a1b5b4f
copy from idpbuilder example dir (#3)
Signed-off-by: Manabu McCloskey <manabu.mccloskey@gmail.com>
2024-06-04 14:43:36 -07:00

24 lines
655 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: my-app
namespace: argocd
labels:
example: basic
spec:
destination:
namespace: my-app
server: "https://kubernetes.default.svc"
source:
# cnoe:// indicates we want to sync from a local directory.
# values after cnoe:// is treated as a relative path from this file.
repoURL: cnoe://manifests
targetRevision: HEAD
# with path set to '.' and cnoe://manifests. we are wanting ArgoCD to sync from the ./manifests directory.
path: "."
project: default
syncPolicy:
automated:
selfHeal: true
syncOptions:
- CreateNamespace=true