summaryrefslogtreecommitdiffstats
path: root/kubernetes/custodia-pwmgr-rc.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/custodia-pwmgr-rc.yaml')
-rw-r--r--kubernetes/custodia-pwmgr-rc.yaml35
1 files changed, 35 insertions, 0 deletions
diff --git a/kubernetes/custodia-pwmgr-rc.yaml b/kubernetes/custodia-pwmgr-rc.yaml
new file mode 100644
index 0000000..d6b66d2
--- /dev/null
+++ b/kubernetes/custodia-pwmgr-rc.yaml
@@ -0,0 +1,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