forked from usdot-jpo-ode/jpo-cvmanager
-
Notifications
You must be signed in to change notification settings - Fork 2
/
iss-health-check.yaml
66 lines (66 loc) · 1.9 KB
/
iss-health-check.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
# If GCP is being used to store keys, this deployment will only be usable in a GCP environment due to the GCP Secret Manager dependency
apiVersion: 'apps/v1'
kind: 'Deployment'
metadata:
name: 'iss-health-check'
labels:
app: 'iss-health-check'
spec:
replicas: 1
selector:
matchLabels:
app: 'iss-health-check'
template:
metadata:
labels:
app: 'iss-health-check'
spec:
containers:
- name: 'iss-health-check'
imagePullPolicy: Always
# Replace image with an actual built iss-health-check image from an image repository
image: 'iss-health-check-image'
resources:
requests:
memory: '1Gi'
cpu: '0.5'
ports:
- containerPort: 8080
env:
- name: STORAGE_TYPE
value: GCP
- name: GOOGLE_APPLICATION_CREDENTIALS
value: '/home/secret/cv_credentials.json'
- name: PROJECT_ID
value: ''
- name: ISS_API_KEY
value: ''
- name: ISS_API_KEY_NAME
value: ''
- name: ISS_PROJECT_ID
value: ''
- name: ISS_SCMS_TOKEN_REST_ENDPOINT
value: ''
- name: ISS_SCMS_VEHICLE_REST_ENDPOINT
value: ''
- name: ISS_KEY_TABLE_NAME
value: ''
- name: DB_USER
value: ''
- name: DB_PASS
value: ''
- name: DB_NAME
value: ''
- name: DB_HOST
value: ''
- name: LOGGING_LEVEL
value: 'INFO'
volumeMounts:
- name: cv-manager-service-key
mountPath: /home/secret
tty: true
stdin: true
volumes:
- name: cv-manager-service-key
secret:
secretName: cv-manager-service-key