apiVersion: batch/v1beta1 kind: CronJob metadata: generateName: cbio-delete #namespace: cbio-on-demand labels: app: cbio type: ondemand # generated by API by user id from request #user: Luboslav # generated by API unique for user #instance: "1" annotations: maintainer: Luboslav Pivarc <456130@muni.cz> spec: # generated by API #schedule: "*/1 * * * *" startingDeadlineSeconds: 21600 jobTemplate: spec: completions: 1 ttlSecondsAfterFinished: 21600 template: spec: containers: - name: deletetion image: lpivo/job:tr2 env: # generated by API by usr id from request #- name: USER # value: string # generated by API unique for user #- name: INSTANCE # value: codpgfjr restartPolicy: OnFailure