feat(argocd-apps): Add ArgoCD ApplicationSet (#1521)
* Add ArgoCD ApplicationSet Signed-off-by: toyamagu <toyamagu2021@gmail.com> Signed-off-by: Petr Drastil <petr.drastil@gmail.com> Co-authored-by: Petr Drastil <petr.drastil@gmail.com>
This commit is contained in:
parent
9b2f24514c
commit
14d2b8313e
6 changed files with 171 additions and 4 deletions
45
charts/argocd-apps/ci/applicationsets-values.yaml
Normal file
45
charts/argocd-apps/ci/applicationsets-values.yaml
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# Test with applicationsets
|
||||
|
||||
applicationsets:
|
||||
- name: guestbook
|
||||
namespace: default # Only for test purpose.
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue