corda/experimental/kubernetes/templates/pods/notary-init.yml
2018-03-27 13:45:44 +01:00

34 lines
642 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: notary
labels:
app: notary
spec:
imagePullSecrets:
- name: regsecret
containers:
- name: notary
image: {{ image }}
imagePullPolicy: Always
volumeMounts:
- mountPath: /data
name: pv
- mountPath: /truststore
name: truststore
readOnly: true
ports:
- containerPort: 1300
env:
- name: "NAMESPACE"
value: "{{ namespace }}"
command:
- '/app/init.sh'
volumes:
- name: pv
persistentVolumeClaim:
claimName: notary
- name: truststore
secret:
secretName: truststore-3.0.0