|
@@ -1,7 +1,7 @@
|
|
# Workload type
|
|
# Workload type
|
|
- variable: workloadType
|
|
- variable: workloadType
|
|
description: "Please specify type of workload to deploy"
|
|
description: "Please specify type of workload to deploy"
|
|
- lablel: "Workload Type"
|
|
|
|
|
|
+ label: "Workload Type"
|
|
schema:
|
|
schema:
|
|
type: string
|
|
type: string
|
|
default: "Deployment"
|
|
default: "Deployment"
|
|
@@ -11,6 +11,15 @@
|
|
- "Job"
|
|
- "Job"
|
|
- "CronJob"
|
|
- "CronJob"
|
|
|
|
|
|
|
|
+# Cronjob schedule
|
|
|
|
+- variable: cronSchedule
|
|
|
|
+ label: "Cron Schedule"
|
|
|
|
+ schema:
|
|
|
|
+ type: cron
|
|
|
|
+ show_if: [["workloadType", "=", "CronJob"]]
|
|
|
|
+ default:
|
|
|
|
+ minute: "5"
|
|
|
|
+
|
|
# Image related
|
|
# Image related
|
|
- variable: image
|
|
- variable: image
|
|
description: "Docker Image Details"
|
|
description: "Docker Image Details"
|