-
Notifications
You must be signed in to change notification settings - Fork 0
/
ApplicationSet.yml
34 lines (34 loc) · 905 Bytes
/
ApplicationSet.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: blood-bank-git-generator
namespace: argocd
labels:
app: blood-bank
app.kubernetes.io/name: blood-bank
spec:
generators:
- git:
repoURL: https://github.com/soravkumarsharma/Blood-Bank-Management-System-Infra.git
revision: main
directories:
- path: Kubernetes/*
template:
metadata:
name: '{{path.basename}}-application'
spec:
project: default
source:
repoURL: https://github.com/soravkumarsharma/Blood-Bank-Management-System-Infra.git
targetRevision: main
path: '{{path}}'
destination:
server: https://kubernetes.default.svc
namespace: default
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ApplyOutOfSyncOnly=true