mirror of
https://github.com/corda/corda.git
synced 2024-12-29 09:18:58 +00:00
23 lines
555 B
YAML
23 lines
555 B
YAML
|
apiVersion: batch/v1
|
||
|
kind: Job
|
||
|
metadata:
|
||
|
name: distribute-cordapps
|
||
|
spec:
|
||
|
template:
|
||
|
spec:
|
||
|
imagePullSecrets:
|
||
|
- name: regsecret
|
||
|
containers:
|
||
|
- name: distribute-healthcheck-cordapp
|
||
|
image: {{ image }}
|
||
|
command: ["/bin/sh", "-c", "rm -f cordapps-mnt/* && cp /cordapps/* /cordapps-mnt/"]
|
||
|
volumeMounts:
|
||
|
- name: cordapps
|
||
|
mountPath: /cordapps-mnt
|
||
|
restartPolicy: Never
|
||
|
volumes:
|
||
|
- name: cordapps
|
||
|
persistentVolumeClaim:
|
||
|
claimName: cordapps
|
||
|
backoffLimit: 4
|