-
Notifications
You must be signed in to change notification settings - Fork 15
/
openshift.yml
53 lines (53 loc) · 1.26 KB
/
openshift.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
apiVersion: v1
kind: Template
metadata:
name: diag-container
objects:
- apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
labels:
app: diag-container
name: diag-container
spec:
replicas: 1
revisionHistoryLimit: 10
selector:
app: diag-container
deploymentconfig: diag-container
strategy:
activeDeadlineSeconds: 21600
resources: {}
rollingParams:
intervalSeconds: 1
maxSurge: 25%
maxUnavailable: 25%
timeoutSeconds: 600
updatePeriodSeconds: 1
type: Rolling
template:
metadata:
labels:
app: diag-container
deploymentconfig: diag-container
spec:
containers:
- image: ${IMAGE}:${IMAGE_TAG}
imagePullPolicy: Always
name: diag-container
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
test: false
triggers:
- type: ConfigChange
parameters:
- name: IMAGE
value: quay.io/app-sre/diag-container
- name: IMAGE_TAG
value: latest