forked from kubernetes/k8s.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprow.yaml
More file actions
35 lines (35 loc) · 898 Bytes
/
prow.yaml
File metadata and controls
35 lines (35 loc) · 898 Bytes
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
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: prow
spec:
ignoreApplicationDifferences:
- jsonPointers:
- /spec/syncPolicy
goTemplate: true
generators:
- clusters:
selector:
matchLabels:
clusterType: 'prow'
template:
metadata:
name: '{{ .name }}'
spec:
destination:
namespace: "{{ .metadata.labels.prowNamespace }}"
server: "{{ .server }}"
project: default
sources:
- path: kubernetes/{{ .name }}/prow
repoURL: https://github.com/kubernetes/k8s.io
targetRevision: main
- path: kubernetes/{{ .name }}/prow/crds
repoURL: https://github.com/kubernetes/k8s.io
targetRevision: main
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true