mirror of
https://github.com/corda/corda.git
synced 2024-12-29 09:18:58 +00:00
43 lines
912 B
YAML
43 lines
912 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: {{ name }}
|
|
labels:
|
|
app: hanode
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: regsecret
|
|
containers:
|
|
- name: hanode
|
|
image: {{ image }}
|
|
imagePullPolicy: Always
|
|
env:
|
|
- name: "COMPATIBILITY_ZONE_URL"
|
|
value: "http://doorman:1300"
|
|
volumeMounts:
|
|
- mountPath: /app/artemis
|
|
name: artemis
|
|
- mountPath: /app/cordapps
|
|
name: cordapps
|
|
- mountPath: /app/certificates
|
|
name: certificates
|
|
- mountPath: /truststore
|
|
name: truststore
|
|
readOnly: true
|
|
ports:
|
|
- containerPort: 10002
|
|
- containerPort: 10003
|
|
volumes:
|
|
- name: artemis
|
|
persistentVolumeClaim:
|
|
claimName: artemis
|
|
- name: cordapps
|
|
persistentVolumeClaim:
|
|
claimName: cordapps
|
|
- name: certificates
|
|
persistentVolumeClaim:
|
|
claimName: certificates
|
|
- name: truststore
|
|
secret:
|
|
secretName: truststore-3.0.0
|