-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcar-dev-container.yaml
259 lines (259 loc) · 7.42 KB
/
car-dev-container.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
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "27"
trigger.k8s.io/triggering-configMaps: car
creationTimestamp: "2022-08-18T21:57:35Z"
generation: 29
labels:
app.kubernetes.io/instance: car
app.kubernetes.io/managed-by: isc-sequence-operator
app.kubernetes.io/name: car
chart: dataservices
chartFinalizer: dataservices
cp4s-middleware: allow
cp4sgroup: car
name: car
release: dataservices
sequence: car
name: car
namespace: cp4s
resourceVersion: "367011376"
uid: add2055b-679d-4527-ba4a-f53ee36eb046
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
app.kubernetes.io/name: car
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
annotations:
cloudpakId: efa8389f115c42f187eddd8f927926b4
cloudpakMetric: RESOURCE_UNIT
cloudpakName: IBM Cloud Pak for Security (Gen 3)
cloudpakVersion: 1.8.0
productChargedContainers: ""
productCloudpakRatio: ""
productID: 545bf62dce574f99af370899013a4a8a
productMetric: MANAGED_VIRTUAL_SERVER
productName: Connect Asset and Risk
productVersion: 1.8.0
creationTimestamp: null
labels:
app.kubernetes.io/instance: car
app.kubernetes.io/managed-by: isc-sequence-operator
app.kubernetes.io/name: car
chart: dataservices
chartFinalizer: dataservices
cp4s-middleware: allow
cp4sgroup: car
name: car
release: dataservices
sequence: car
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: beta.kubernetes.io/arch
operator: In
values:
- amd64
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values:
- car
topologyKey: kubernetes.io/hostname
weight: 20
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values:
- car
topologyKey: topology.kubernetes.io/zone
weight: 10
containers:
- env:
- name: IS_SAAS
value: "false"
- name: CAR_RSA_PRIVATE_KEY
valueFrom:
secretKeyRef:
key: systemid.private.pem
name: car-system-id
- name: ENTITLEMENTS_API
value: https://isc-entitlements.cp4s.svc:8443/entitlements/v1.0/entitlements
- name: REDIS_HOST
value: c-default-redis-p.cp4s.svc.cluster.local
- name: REDIS_PASS
valueFrom:
secretKeyRef:
key: pass
name: redis-secret-default
- name: REDIS_PORT
value: "16000"
- name: REDIS_UNAME
value: admin
- name: CAR_PLATFORM
value: OCP
- name: REDIS_SSL
value: "true"
- name: REDIS_SENTINEL
value: '{}'
- name: REDIS_SENTINEL_NAME
value: '{}'
- name: OPENSHIFT_ENV
value: "true"
- name: EXPECTED_EXPORTER_VERSION
value: 1.0.9
- name: NODE_ENV
value: production
- name: NODE_EXTRA_CA_CERTS
value: /etc/config/ca.crt
- name: CAR_DB_NAME
value: car
- name: PG_HOST
valueFrom:
secretKeyRef:
key: host
name: car-postgres-user
- name: PG_PORT
valueFrom:
secretKeyRef:
key: port
name: car-postgres-user
- name: PG_USER
valueFrom:
secretKeyRef:
key: user
name: car-postgres-user
- name: PG_PASSWORD
valueFrom:
secretKeyRef:
key: password
name: car-postgres-user
- name: HASURA_SERVICE_URL
value: https://hasura.cp4s.svc:8443
- name: HASURA_SERVICE_PORT
value: "8443"
- name: AUDIT_URL
value: https://common-audit-logging.cp4s:9880/icp-audit.http
- name: ENABLE_AUDIT
value: "false"
- name: K8S_NAMESPACE
value: cp4s
- name: DEPLOY_TIME
value: "20220822022003"
image: sec-isc-team-isc-icp-docker-local.artifactory.swg-devops.com/dev_container-dev:12
imagePullPolicy: Always
name: car
ports:
- containerPort: 873
protocol: TCP
- containerPort: 9229
protocol: TCP
- containerPort: 3000
protocol: TCP
resources:
limits:
memory: 1Gi
requests:
memory: 128Mi
securityContext: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /etc/config
name: secrets
readOnly: true
- mountPath: /etc/logging
name: config-logging-volume
readOnly: true
- mountPath: /etc/migration
name: car-migration
readOnly: true
dnsConfig:
options:
- name: single-request-reopen
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: car
serviceAccountName: car
terminationGracePeriodSeconds: 30
volumes:
- name: secrets
projected:
defaultMode: 420
sources:
- secret:
items:
- key: tls.crt
path: public.pem
- key: tls.key
path: private.pem
name: car-tls
- secret:
items:
- key: ca.crt
path: ca.crt
- key: ca.p12
path: ca.p12
name: cp4s-truststore
- secret:
items:
- key: public
path: jwt.public.pem
name: isc-jwt
- secret:
items:
- key: systemid.public.pem
path: systemid.public.pem
- key: systemid.private.pem
path: systemid.private.pem
name: car-system-id
- configMap:
defaultMode: 420
name: car
name: config-logging-volume
- configMap:
defaultMode: 420
name: car-migration
optional: false
name: car-migration
status:
availableReplicas: 1
conditions:
- lastTransitionTime: "2022-09-06T14:49:37Z"
lastUpdateTime: "2022-09-06T14:49:37Z"
message: Deployment has minimum availability.
reason: MinimumReplicasAvailable
status: "True"
type: Available
- lastTransitionTime: "2022-08-18T21:57:35Z"
lastUpdateTime: "2022-09-06T16:19:35Z"
message: ReplicaSet "car-576d64bc6c" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
observedGeneration: 29
readyReplicas: 1
replicas: 1
updatedReplicas: 1