
* feat(argocd-apps): multiple sources for application and applicationset Signed-off-by: toyamagu <toyamagu2021@gmail.com> * fix typo Signed-off-by: toyamagu2021@gmail.com <toyamagu2021@gmail.com> --------- Signed-off-by: toyamagu <toyamagu2021@gmail.com> Signed-off-by: toyamagu2021@gmail.com <toyamagu2021@gmail.com> Co-authored-by: Aikawa <yu.croco@gmail.com>
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
# Test with applicationsets
|
|
|
|
applicationsets:
|
|
- name: applicationset
|
|
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
|