forked from linux-system-roles/test-harness
-
Notifications
You must be signed in to change notification settings - Fork 0
/
openshift-objects-staging.yml
54 lines (54 loc) · 1.47 KB
/
openshift-objects-staging.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
apiVersion: v1
kind: List
items:
- kind: DeploymentConfig
apiVersion: v1
metadata:
name: linux-system-roles-staging
spec:
replicas: 1
selector:
name: linux-system-roles-staging
triggers:
- type: ConfigChange
- type: ImageChange
imageChangeParams:
automatic: true
containerNames:
- linux-system-roles-staging
from:
kind: ImageStreamTag
name: linux-system-roles:staging
strategy:
type: Rolling
template:
metadata:
labels:
name: linux-system-roles-staging
spec:
serviceAccountName: tester
restartPolicy: Always
containers:
- name: linux-system-roles-staging
image: docker.io/linuxsystemroles/test-harness:staging
volumeMounts:
- name: secrets
mountPath: /secrets
readOnly: true
- name: config
mountPath: /config
readOnly: true
- name: cache
mountPath: /cache
securityContext:
privileged: true
fsGroup: 1000
volumes:
- name: secrets
secret:
secretName: secrets
- name: config
configMap:
name: config-staging
- name: cache
emptyDir: