blob: 03300b37dbd044e64baa6594d777931b0ea60eab (
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: secns_pwmgr
spec:
containers:
- name: custodia-pwmgr
image: 10.34.78.249:5000/custodia-pwmgr:latest
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
|