From 9b68908f1cfab1c2dced70e4c68ffd2c688c304d Mon Sep 17 00:00:00 2001 From: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Date: Wed, 21 Dec 2022 09:05:31 -0500 Subject: [PATCH] docs: add an example ApplicationSet to document all fields Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> --- docs/operator-manual/applicationset.yaml | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 docs/operator-manual/applicationset.yaml diff --git a/docs/operator-manual/applicationset.yaml b/docs/operator-manual/applicationset.yaml new file mode 100644 index 0000000000000..2267343a7c489 --- /dev/null +++ b/docs/operator-manual/applicationset.yaml @@ -0,0 +1,25 @@ +apiVersion: argoproj.io/v1alpha1 +kind: ApplicationSet +metadata: + name: test-hello-world-appset + namespace: argocd +spec: + # See docs for available generators and their specs. + generators: + - list: + elements: + - cluster: https://kubernetes.default.svc + # Determines whether go templating will be used in the `template` field below. + goTemplate: false + # These fields are identical to the Application spec. + template: + metadata: + name: test-hello-world-app + spec: + project: my-project + # This sync policy pertains to the ApplicationSet, not to the Applications it creates. + syncPolicy: + # Determines whether the controller will delete Applications when an ApplicationSet is deleted. + preserveResourcesOnDeletion: false + # Alpha feature to determine the order in which ApplicationSet applies changes. + strategy: