-
Notifications
You must be signed in to change notification settings - Fork 1
/
queue-service.yml
67 lines (64 loc) · 1.91 KB
/
queue-service.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
55
56
57
58
59
60
61
62
63
64
65
66
67
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: veraid-authority-queue
spec:
template:
metadata:
annotations:
autoscaling.knative.dev/min-scale: "1"
spec:
containers:
- name: queue
image: dev.local/veraid-authority
args: [queue]
env:
- name: AUTHORITY_VERSION
value: "1.0.0dev1"
- name: MONGODB_PASSWORD
valueFrom:
secretKeyRef:
name: credentials
key: mongodb_password
# Mock AWS KMS (used by WebCrypto KMS)
- name: KMS_ADAPTER
value: AWS
- name: AWS_ACCESS_KEY_ID
valueFrom:
configMapKeyRef:
name: mock-aws-kms
key: access_key_id
- name: AWS_SECRET_ACCESS_KEY
valueFrom:
secretKeyRef:
name: credentials
key: aws_kms_secret_access_key
- name: AWS_KMS_ENDPOINT
valueFrom:
configMapKeyRef:
name: mock-aws-kms
key: endpoint
- name: AWS_KMS_REGION
value: eu-west-2
- name: CE_CHANNEL_AWALA_OUTGOING_MESSAGES
value: http://mock-awala-middleware.default
- name: CE_CHANNEL_BACKGROUND_QUEUE
value: http://veraid-authority-queue.default
envFrom:
- configMapRef:
name: mongodb
livenessProbe:
httpGet:
path: /
port: 8080
periodSeconds: 5
failureThreshold: 2
timeoutSeconds: 3
initialDelaySeconds: 10
readinessProbe:
httpGet:
path: /
port: 8080
periodSeconds: 5
failureThreshold: 2
timeoutSeconds: 3