forked from kubernetes/test-infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dev.yaml
39 lines (38 loc) · 994 Bytes
/
dev.yaml
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
apiVersion: batch/v1
kind: Job
metadata:
name: peribolos
spec:
backoffLimit: 2
template:
metadata:
name: peribolos
spec:
containers:
- name: peribolos
image: gcr.io/k8s-testimages/peribolos:latest # Note: not gcr.io/k8s-prow for dev
imagePullPolicy: Always # Good practice for dev/debugging, bad for prod
args:
- --config-path=/etc/config/config.yaml
- --github-token-path=/etc/github/oauth
- --min-admins=2
- --fix-org
- --fix-org-members
- --fix-teams
- --fix-team-members
#- --confirm
volumeMounts:
- name: oauth
mountPath: /etc/github
readOnly: true
- name: test-config
mountPath: /etc/config
readOnly: true
restartPolicy: Never
volumes:
- name: oauth
secret:
secretName: oauth-token
- name: test-config
configMap:
name: peribolos-test-config