-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathattester.yaml
41 lines (41 loc) · 1.2 KB
/
attester.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
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: kyc-attest
spec:
replicas: 1
strategy:
type: Recreate # Delete the existing pods before creating the new one.
# This way we don't have two bots connected at once, which
# is not desired for custom integrations.
#
# The RollingUpdate strategy should be used for Slack Apps,
# which need to scale to multiple teams.
template:
metadata:
labels:
app: kyc-attest
spec:
containers:
- name: master
image: gcr.io/testbot-168718/kyc-attest:v1 # Replace PROJECT_ID
ports:
no- hostPort: 8081
containerPort: 8081
protocol: TCP
env:
- name: ATTESTER_APPNAME
valueFrom:
secretKeyRef:
name: attester
key: attester_appnoame.txt
- name: ATTESTER_PRK
valueFrom:
secretKeyRef:
name: attester
key: attester_prk.txtu
- name: ATTESTER_ADDRESS
valueFrom:
secretKeyRef:
name: attester
key: attester_address.txt