1 changed file
argocd/overlay | ||
applicationset.yaml + | ||
Add comment 1 Plus #
Add comment 2 Plus # Author: Hari Sekhon
Add comment 3 Plus # Date: 2024-10-10 09:49:41 +0300 (Thu, 10 Oct 2024)
Add comment 4 Plus #
Add comment 5 Plus # vim:ts=2:sts=2:sw=2:et
Add comment 6 Plus #
Add comment 7 Plus # https///github.com/HariSekhon/Kubernetes-configs
Add comment 8 Plus #
Add comment 9 Plus # License: see accompanying Hari Sekhon LICENSE file
Add comment 10 Plus #
Add comment 11 Plus # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
Add comment 12 Plus #
Add comment 13 Plus # https://www.linkedin.com/in/HariSekhon
Add comment 14 Plus #
Add comment 15 Plus
Add comment 16 Plus # ============================================================================ #
Add comment 17 Plus # A r g o C D A p p l i c a t i o n S e t
Add comment 18 Plus # ============================================================================ #
Add comment 19 Plus
Add comment 20 Plus # https://argo-cd.readthedocs.io/en/stable/user-guide/application-set/
Add comment 21 Plus
Add comment 22 Plus # https://argo-cd.readthedocs.io/en/stable/operator-manual/applicationset/
Add comment 23 Plus
Add comment 24 Plus ---
Add comment 25 Plus apiVersion: argoproj.io/v1alpha1
Add comment 26 Plus kind: ApplicationSet
Add comment 27 Plus metadata:
Add comment 28 Plus name: '[% NAME %]' # XXX: Edit
Add comment 29 Plus spec:
Add comment 30 Plus goTemplate: true
Add comment 31 Plus goTemplateOptions: ["missingkey=error"]
Add comment 32 Plus generators:
Add comment 33 Plus - list:
Add comment 34 Plus elements:
Add comment 35 Plus - cluster: dev
Add comment 36 Plus url: https://1.2.3.4 # XXX: Edit
Add comment 37 Plus - cluster: staging
Add comment 38 Plus url: https://2.4.6.8 # XXX: Edit
Add comment 39 Plus - cluster: prod
Add comment 40 Plus url: https://9.8.7.6 # XXX: Edit
Add comment 41 Plus template:
Add comment 42 Plus metadata:
Add comment 43 Plus name: '{{.cluster}}-[% NAME %]'
Add comment 44 Plus spec:
Add comment 45 Plus project: MYPROJECT # XXX: Edit
Add comment 46 Plus source:
Add comment 47 Plus repoURL: https://github.com/MYCOMPANY/Kubernetes.git # XXX: Edit
Add comment 48 Plus targetRevision: main
Add comment 49 Plus path: '[% NAME %]/{{.cluster}}' # XXX: Edit
Add comment 50 Plus destination:
Add comment 51 Plus server: '{{.url}}'
Add comment 52 Plus namespace: NAME # XXX: Edit
Add comment 53 Plus