-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathapplicationset.yaml
More file actions
61 lines (61 loc) · 1.85 KB
/
Copy pathapplicationset.yaml
File metadata and controls
61 lines (61 loc) · 1.85 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: coder-k8s-stack
namespace: argocd
labels:
app.kubernetes.io/part-of: coder-k8s-example
spec:
goTemplate: true
goTemplateOptions:
- missingkey=error
generators:
- list:
elements:
- name: coder-k8s-stack
destinationServer: https://kubernetes.default.svc
destinationNamespace: cnpg-system
repoURL: https://github.com/coder/coder-k8s.git
targetRevision: main
cloudnativepgChartVersion: "*"
template:
metadata:
name: "{{ .name }}"
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
labels:
app.kubernetes.io/part-of: coder-k8s-example
spec:
project: default
sources:
- repoURL: https://cloudnative-pg.github.io/charts
chart: cloudnative-pg
targetRevision: "{{ .cloudnativepgChartVersion }}"
helm:
releaseName: cnpg
- repoURL: "{{ .repoURL }}"
targetRevision: "{{ .targetRevision }}"
path: examples/argocd/resources
- repoURL: "{{ .repoURL }}"
targetRevision: "{{ .targetRevision }}"
path: config/crd/bases
- repoURL: "{{ .repoURL }}"
targetRevision: "{{ .targetRevision }}"
path: config/rbac
- repoURL: "{{ .repoURL }}"
targetRevision: "{{ .targetRevision }}"
path: deploy
- repoURL: "{{ .repoURL }}"
targetRevision: "{{ .targetRevision }}"
path: examples/cloudnativepg
destination:
server: "{{ .destinationServer }}"
namespace: "{{ .destinationNamespace }}"
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- ServerSideApply=true