From 24e4a04a0e842622af2040c6a4f460c9722dcf80 Mon Sep 17 00:00:00 2001 From: Joe Lee Date: Mon, 8 May 2023 15:27:53 +0800 Subject: [PATCH] add example for applicationsetTemplates Signed-off-by: Joe Lee --- charts/argocd-apps/values.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/charts/argocd-apps/values.yaml b/charts/argocd-apps/values.yaml index 1948ab28..89079821 100644 --- a/charts/argocd-apps/values.yaml +++ b/charts/argocd-apps/values.yaml @@ -196,6 +196,36 @@ applicationsets: [] # preserveResourcesOnDeletion: false applicationsetTemplates: [] +# - appSets: +# - name: my-appset +# generators: +# - list: +# elements: +# - cluster: engineering-dev +# url: https://1.2.3.4 +# - cluster: engineering-prod +# url: https://2.4.6.8 +# - cluster: finance-preprod +# url: https://9.8.7.6 +# template: |- +# apiVersion: argoproj.io/v1alpha1 +# kind: ApplicationSet +# metadata: +# name: {{ .name }} +# spec: +# generators: {{ toYaml .generators | nindent 4 }} +# template: +# metadata: +# name: '{{`{{cluster}}`}}-guestbook' +# spec: +# project: my-project +# source: +# repoURL: https://github.com/infra-team/cluster-deployments.git +# targetRevision: HEAD +# path: guestbook/{{`{{cluster}}`}} +# destination: +# server: '{{`{{cluster}}`}}' +# namespace: guestbook # -- Deploy Argo UI Extensions within this helm release # @default -- `[]` (See [values.yaml]) ## This function in tech preview stage, do expect unstability or breaking changes in newer versions. Bump image.tag if necessary.