-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdeployment.yaml
38 lines (38 loc) · 1.05 KB
/
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
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: kubernetes-credhub
labels:
app: kubernetes-credhub
spec:
replicas: 1
template:
metadata:
labels:
app: kubernetes-credhub
spec:
serviceAccountName: kubernetes-credhub
containers:
- name: kubernetes-credhub-webhook
image: oskoss/kubernetes-credhub-webhook:v0
imagePullPolicy: Always
args:
- -tlsCertFile=/etc/webhook/certs/cert.pem
- -tlsKeyFile=/etc/webhook/certs/key.pem
- -alsologtostderr
- --logtostderr=1
- -v=4
- 2>&1
volumeMounts:
- name: credhub-webhook-cert
mountPath: /etc/webhook/certs
readOnly: true
- name: kubernetes-credhub-controller
image: oskoss/kubernetes-credhub-controller:v0
imagePullPolicy: Always
args:
- --logtostderr=1
volumes:
- name: credhub-webhook-cert
secret:
secretName: credhub-webhook-cert