blob: d6b66d2bf514f698e98cc2e0036e2bc10a5a638c (
plain)
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
|
apiVersion: v1
kind: ReplicationController
metadata:
name: custodia-pwmgr
labels:
name: custodia-pwmgr
spec:
replicas: 1
selector:
name: custodia-pwmgr
version: v1
template:
metadata:
labels:
name: custodia-pwmgr
version: v1
secrets_namespace: pwmgr
spec:
containers:
- name: custodia-pwmgr
image: custodia-pwmgr
ports:
- containerPort: 5000
name: custodia-pwmgr
env:
- name: CUSTODIA_SOCKET
value: /custodia/server_socket
volumeMounts:
- name: custodia
mountPath: /custodia
readOnly: true
volumes:
- name: custodia
hostPath:
path: /var/lib/custodia/client
|