Update questions.yml format
This commit is contained in:
@@ -1,7 +1,29 @@
|
|||||||
|
groups:
|
||||||
|
- name: "Container Images"
|
||||||
|
description: "Image to be used for container"
|
||||||
|
- name: "Container Entrypoint"
|
||||||
|
description: "Configuration of the executable that will be run when the container is started"
|
||||||
|
- name: "Container Environment Variables"
|
||||||
|
description: "Set the environment that will be visible to the container"
|
||||||
|
- name: "Networking"
|
||||||
|
description: "Configure networking for container"
|
||||||
|
- name: "Storage"
|
||||||
|
description: "Persist and share data that is separate from the lifecycle of the container"
|
||||||
|
- name: "Health Check"
|
||||||
|
description: "Define mechanism to periodically probe the container to ensure it's functioning as desired"
|
||||||
|
- name: "Workload Details"
|
||||||
|
description: "Configure how workload should be deployed"
|
||||||
|
- name: "Scaling/Upgrade Policy"
|
||||||
|
description: "Configure how pods are replaced when configuration is upgraded"
|
||||||
|
- name: "Restart Policy"
|
||||||
|
description: "Configure when pod should be restarted in case of failure"
|
||||||
|
|
||||||
|
questions:
|
||||||
# Workload type
|
# Workload type
|
||||||
- variable: workloadType
|
- variable: workloadType
|
||||||
description: "Please specify type of workload to deploy"
|
description: "Please specify type of workload to deploy"
|
||||||
label: "Workload Type"
|
label: "Workload Type"
|
||||||
|
group: "Workload Details"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "Deployment"
|
default: "Deployment"
|
||||||
@@ -14,6 +36,7 @@
|
|||||||
# Cronjob schedule
|
# Cronjob schedule
|
||||||
- variable: cronSchedule
|
- variable: cronSchedule
|
||||||
label: "Cron Schedule"
|
label: "Cron Schedule"
|
||||||
|
group: "Workload Details"
|
||||||
schema:
|
schema:
|
||||||
type: cron
|
type: cron
|
||||||
show_if: [["workloadType", "=", "CronJob"]]
|
show_if: [["workloadType", "=", "CronJob"]]
|
||||||
@@ -31,21 +54,18 @@
|
|||||||
- variable: repository
|
- variable: repository
|
||||||
description: "Docker image repository"
|
description: "Docker image repository"
|
||||||
label: "Image repository"
|
label: "Image repository"
|
||||||
group: "Container Images"
|
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
- variable: tag
|
- variable: tag
|
||||||
description: "Tag to use for specified image"
|
description: "Tag to use for specified image"
|
||||||
label: "Image Tag"
|
label: "Image Tag"
|
||||||
group: "Container Images"
|
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "latest"
|
default: "latest"
|
||||||
- variable: pullPolicy
|
- variable: pullPolicy
|
||||||
description: "Docker Image Pull Policy"
|
description: "Docker Image Pull Policy"
|
||||||
label: "Image Pull Policy"
|
label: "Image Pull Policy"
|
||||||
group: "Container Images"
|
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: "IfNotPresent"
|
default: "IfNotPresent"
|
||||||
@@ -58,6 +78,7 @@
|
|||||||
- variable: updateStrategy
|
- variable: updateStrategy
|
||||||
description: "Upgrade Policy"
|
description: "Upgrade Policy"
|
||||||
label: "Update Strategy"
|
label: "Update Strategy"
|
||||||
|
group: "Scaling/Upgrade Policy"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
show_if: [["workloadType", "=", "Deployment"]]
|
show_if: [["workloadType", "=", "Deployment"]]
|
||||||
@@ -117,7 +138,7 @@
|
|||||||
- variable: containerEnvironmentVariables
|
- variable: containerEnvironmentVariables
|
||||||
description: "Container Environment Variables"
|
description: "Container Environment Variables"
|
||||||
label: "Container Environment Variables"
|
label: "Container Environment Variables"
|
||||||
group: "Container Entrypoint"
|
group: "Container Environment Variables"
|
||||||
schema:
|
schema:
|
||||||
type: list
|
type: list
|
||||||
items:
|
items:
|
||||||
@@ -276,7 +297,7 @@
|
|||||||
- variable: livenessProbe
|
- variable: livenessProbe
|
||||||
label: "Liveness Probe"
|
label: "Liveness Probe"
|
||||||
description: "Configure Liveness Probe"
|
description: "Configure Liveness Probe"
|
||||||
group: "Probes"
|
group: "Health Check"
|
||||||
schema:
|
schema:
|
||||||
type: dict
|
type: dict
|
||||||
default: null
|
default: null
|
||||||
|
|||||||
Reference in New Issue
Block a user