apiVersion: batch/v1
kind: CronJob
metadata:
  name: dynfw
  namespace: gitlab-runner
spec:
  schedule: "*/15 * * * *"
  jobTemplate:
    spec:
      template:
        spec:
          containers:
          - name: hcloud-dynfw
            image: quay.io/sheogorath/hcloud-dynfw:v1.6.0
            resources:
              requests:
                cpu: 100m
                memory: 128Mi
              limits:
                cpu: 100m
                memory: 128Mi
            envFrom:
              - secretRef:
                  name: hcloud-dynfw-conf
          restartPolicy: OnFailure
          automountServiceAccountToken: false
