forked from bcgov/business-filings-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoops-ui.dc.json
134 lines (134 loc) · 6.62 KB
/
coops-ui.dc.json
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"apiVersion": "apps.openshift.io/v1",
"kind": "DeploymentConfig",
"metadata": {
"annotations": {
"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"apps.openshift.io/v1\",\"kind\":\"DeploymentConfig\",\"metadata\":{\"annotations\":{},\"creationTimestamp\":null,\"generation\":1,\"labels\":{\"app\":\"coops-ui\",\"template\":\"caddy-dc\"},\"name\":\"coops-ui\",\"namespace\":\"1rdehl-dev\"},\"spec\":{\"replicas\":1,\"revisionHistoryLimit\":10,\"selector\":{\"app\":\"coops-ui\",\"deploymentconfig\":\"coops-ui\"},\"strategy\":{\"activeDeadlineSeconds\":21600,\"resources\":{},\"rollingParams\":{\"intervalSeconds\":1,\"maxSurge\":\"25%\",\"maxUnavailable\":\"25%\",\"timeoutSeconds\":600,\"updatePeriodSeconds\":1},\"type\":\"Rolling\"},\"template\":{\"metadata\":{\"creationTimestamp\":null,\"labels\":{\"app\":\"coops-ui\",\"deploymentconfig\":\"coops-ui\"}},\"spec\":{\"containers\":[{\"args\":[\"/tmp/scripts/run\"],\"imagePullPolicy\":\"Always\",\"name\":\"coops-ui\",\"ports\":[{\"containerPort\":2015,\"protocol\":\"TCP\"}],\"resources\":{},\"terminationMessagePath\":\"/dev/termination-log\",\"terminationMessagePolicy\":\"File\",\"volumeMounts\":[{\"mountPath\":\"/etc/Caddyfile\",\"name\":\"coops-web-caddy-config\",\"readOnly\":true,\"subPath\":\"Caddyfile\"},{\"mountPath\":\"/var/www/html/cooperatives/config\",\"name\":\"coops-web-ui-configuration\",\"readOnly\":true}]}],\"dnsPolicy\":\"ClusterFirst\",\"restartPolicy\":\"Always\",\"schedulerName\":\"default-scheduler\",\"securityContext\":{},\"terminationGracePeriodSeconds\":30,\"volumes\":[{\"configMap\":{\"defaultMode\":420,\"name\":\"coops-web-caddy-config\"},\"name\":\"coops-web-caddy-config\"},{\"configMap\":{\"defaultMode\":420,\"name\":\"coops-web-ui-configuration\"},\"name\":\"coops-web-ui-configuration\"}]}},\"test\":false,\"triggers\":[{\"imageChangeParams\":{\"automatic\":true,\"containerNames\":[\"coops-ui\"],\"from\":{\"kind\":\"ImageStreamTag\",\"name\":\"coops-ui:dev\",\"namespace\":\"gl2uos-tools\"}},\"type\":\"ImageChange\"},{\"type\":\"ConfigChange\"}]},\"status\":{\"availableReplicas\":0,\"latestVersion\":0,\"observedGeneration\":0,\"replicas\":0,\"unavailableReplicas\":0,\"updatedReplicas\":0}}\n"
},
"creationTimestamp": null,
"generation": 1,
"labels": {
"app": "coops-ui",
"template": "caddy-dc"
},
"name": "coops-ui",
"selfLink": "/apis/apps.openshift.io/v1/namespaces/1rdehl-dev/deploymentconfigs/coops-ui"
},
"spec": {
"replicas": 1,
"revisionHistoryLimit": 10,
"selector": {
"app": "coops-ui",
"deploymentconfig": "coops-ui"
},
"strategy": {
"activeDeadlineSeconds": 21600,
"resources": {},
"rollingParams": {
"intervalSeconds": 1,
"maxSurge": "25%",
"maxUnavailable": "25%",
"timeoutSeconds": 600,
"updatePeriodSeconds": 1
},
"type": "Rolling"
},
"template": {
"metadata": {
"creationTimestamp": null,
"labels": {
"app": "coops-ui",
"deploymentconfig": "coops-ui"
}
},
"spec": {
"containers": [
{
"args": [
"/tmp/scripts/run"
],
"image": "docker-registry.default.svc:5000/gl2uos-tools/coops-ui@sha256:19c9e123edb9ce71132fdfc553466145261809264d4d14789668074efc810377",
"imagePullPolicy": "Always",
"name": "coops-ui",
"ports": [
{
"containerPort": 2015,
"protocol": "TCP"
}
],
"resources": {},
"terminationMessagePath": "/dev/termination-log",
"terminationMessagePolicy": "File",
"volumeMounts": [
{
"mountPath": "/etc/Caddyfile",
"name": "coops-web-caddy-config",
"readOnly": true,
"subPath": "Caddyfile"
},
{
"mountPath": "/var/www/html/cooperatives/config",
"name": "coops-web-ui-configuration",
"readOnly": true
},
{
"mountPath": "/var/www/html/config",
"name": "coops-web-ui-configuration",
"readOnly": true
}
]
}
],
"dnsPolicy": "ClusterFirst",
"restartPolicy": "Always",
"schedulerName": "default-scheduler",
"securityContext": {},
"terminationGracePeriodSeconds": 30,
"volumes": [
{
"configMap": {
"defaultMode": 420,
"name": "coops-web-caddy-config"
},
"name": "coops-web-caddy-config"
},
{
"configMap": {
"defaultMode": 420,
"name": "coops-web-ui-configuration"
},
"name": "coops-web-ui-configuration"
}
]
}
},
"test": false,
"triggers": [
{
"imageChangeParams": {
"automatic": true,
"containerNames": [
"coops-ui"
],
"from": {
"kind": "ImageStreamTag",
"name": "coops-ui:dev",
"namespace": "gl2uos-tools"
}
},
"type": "ImageChange"
},
{
"type": "ConfigChange"
}
]
},
"status": {
"availableReplicas": 0,
"latestVersion": 0,
"observedGeneration": 0,
"replicas": 0,
"unavailableReplicas": 0,
"updatedReplicas": 0
}
}