2022-10-12 08:31:54 +00:00
|
|
|
# Test with applicationsets
|
|
|
|
|
|
|
|
applicationsets:
|
2023-02-09 22:43:38 +00:00
|
|
|
- name: applicationset
|
2022-10-12 08:31:54 +00:00
|
|
|
additionalLabels: {}
|
|
|
|
additionalAnnotations: {}
|
|
|
|
# See PR #10026 (ArgoCD v2.5 or later)
|
|
|
|
# goTemplate: false
|
|
|
|
generators:
|
|
|
|
- git:
|
|
|
|
repoURL: https://github.com/argoproj/argocd-example-apps.git
|
|
|
|
revision: HEAD
|
|
|
|
directories:
|
|
|
|
- path: guestbook
|
|
|
|
- path: kustomize-*
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
name: '{{path.basename}}'
|
|
|
|
labels: {}
|
|
|
|
annotations: {}
|
|
|
|
spec:
|
|
|
|
project: default
|
|
|
|
source:
|
|
|
|
repoURL: https://github.com/argoproj/argocd-example-apps.git
|
|
|
|
targetRevision: HEAD
|
|
|
|
path: '{{path}}'
|
|
|
|
destination:
|
|
|
|
server: https://kubernetes.default.svc
|
|
|
|
namespace: default
|
|
|
|
syncPolicy:
|
|
|
|
automated:
|
|
|
|
prune: false
|
|
|
|
selfHeal: false
|
|
|
|
ignoreDifferences:
|
|
|
|
- group: apps
|
|
|
|
kind: Deployment
|
|
|
|
jsonPointers:
|
|
|
|
- /spec/replicas
|
|
|
|
info:
|
|
|
|
- name: url
|
|
|
|
value: https://argoproj.github.io/
|
|
|
|
syncPolicy:
|
|
|
|
# Set Application finalizer
|
|
|
|
preserveResourcesOnDeletion: false
|