From 6af2e95e6dd7a57dc590ccbde4e16f41865b8eba Mon Sep 17 00:00:00 2001 From: Haitao Pan Date: Tue, 19 Mar 2024 20:31:54 +0800 Subject: [PATCH] add argo_application-demo.yaml --- scripts/argo_application-demo.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 scripts/argo_application-demo.yaml diff --git a/scripts/argo_application-demo.yaml b/scripts/argo_application-demo.yaml new file mode 100644 index 0000000..31719b5 --- /dev/null +++ b/scripts/argo_application-demo.yaml @@ -0,0 +1,22 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: postgresql + namespace: itsm-dev-db +spec: + project: postgresql + destination: + namespace: itsm-dev-db + server: https://k3s.onwalk.net + source: + path: apps/postgresql + repoURL: https://github.com/svc-design/gitops.git + targetRevision: HEAD + plugin: + name: kustomized-helm + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=false