2018-11-28 05:27:21 +00:00
|
|
|
apiVersion: batch/v1
|
|
|
|
kind: Job
|
|
|
|
metadata:
|
2019-02-13 19:08:28 +00:00
|
|
|
name: deploy-deposit-contract
|
2018-11-28 05:27:21 +00:00
|
|
|
namespace: beacon-chain
|
|
|
|
spec:
|
|
|
|
#ttlSecondsAfterFinished: 7200
|
|
|
|
activeDeadlineSeconds: 600
|
|
|
|
backoffLimit: 3
|
|
|
|
template:
|
|
|
|
spec:
|
|
|
|
priorityClassName: batch-priority
|
2019-02-13 19:08:28 +00:00
|
|
|
serviceAccountName: deploydepositcontract
|
2018-11-28 05:27:21 +00:00
|
|
|
containers:
|
|
|
|
- name: deployvcr
|
2019-02-13 19:08:28 +00:00
|
|
|
image: gcr.io/prysmaticlabs/prysm/deploy-deposit-contract:latest
|
2018-11-28 05:27:21 +00:00
|
|
|
args:
|
|
|
|
- "--httpPath=http://geth-nodes.pow.svc.cluster.local:8545"
|
|
|
|
- "--privKey=783da8ef5343c3019748506305d400bca8c324a5819f3a7f7fbf0c0a0d799b09"
|
|
|
|
- "--k8s-config=beacon-config"
|
|
|
|
restartPolicy: OnFailure
|