Sha256: 4a23334aa0f1037986911d87b8a89e6db913da70991b3ad2e25ba9416b6d73e3

Contents?: true

Size: 708 Bytes

Versions: 10

Compression:

Stored size: 708 Bytes

Contents

kind: workload
name: daily-task
spec:
  # https://docs.controlplane.com/reference/workload#cron-configuration
  type: cron
  job:
    # Run daily job at 2am (see cron docs)
    schedule: 0  2  *  *  *
    # Never or OnFailure
    restartPolicy: Never
  containers:
    - name: daily-task
      cpu: 50m
      memory: 256Mi
      args:
        - bundle
        - exec
        - rails
        - db:prepare
      inheritEnv: true
      image: "/org/APP_ORG/image/APP_IMAGE"
  defaultOptions:
    autoscaling:
      minScale: 1
      maxScale: 1
    capacityAI: false
  firewallConfig:
    external:
      outboundAllowCIDR:
        - 0.0.0.0/0
  identityLink: /org/APP_ORG/gvc/APP_GVC/identity/APP_GVC-identity

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
cpl-1.3.0 templates/daily-task.yml
cpl-1.2.0 templates/daily-task.yml
cpl-1.1.2 templates/daily-task.yml
cpl-1.1.2.rc.0 templates/daily-task.yml
cpl-1.1.1 templates/daily-task.yml
cpl-1.1.0 templates/daily-task.yml
cpl-1.0.4 templates/daily-task.yml
cpl-1.0.3 templates/daily-task.yml
cpl-1.0.2 templates/daily-task.yml
cpl-1.0.1 templates/daily-task.yml