-
Notifications
You must be signed in to change notification settings - Fork 34
/
deployment.yaml
40 lines (40 loc) · 1016 Bytes
/
deployment.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
apiVersion: apps/v1
kind: Deployment
metadata:
name: gtoken-webhook-deployment
namespace: gtoken
labels:
app: gtoken-webhook
spec:
replicas: 1
selector:
matchLabels:
app: gtoken-webhook
template:
metadata:
labels:
app: gtoken-webhook
spec:
containers:
- name: gtoken-webhook
image: doitintl/gtoken-webhook
imagePullPolicy: Always
resources:
requests:
cpu: 250m
memory: 512Mi
args:
- --log-level=debug
- server
- --tls-cert-file=/etc/webhook/certs/cert.pem
- --tls-private-key-file=/etc/webhook/certs/key.pem
- --pull-policy=Always
volumeMounts:
- name: webhook-certs
mountPath: /etc/webhook/certs
readOnly: true
serviceAccountName: gtoken-webhook-sa
volumes:
- name: webhook-certs
secret:
secretName: gtoken-webhook-certs