 apiVersion: batch/v1
 kind: Job
 metadata:
   name: install
 spec:
   template:
     metadata:
       name: install
     spec:
       restartPolicy: OnFailure
       containers:
         - name: install
           image: ubuntu:18.04
           command: ["/bin/bash", "-c", "/var/lib/gravity/resources/install.sh"]