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