Have description for enum values
This commit is contained in:
parent
3d1bb1c151
commit
c46633af7a
|
@ -31,9 +31,12 @@ questions:
|
||||||
default: "Deployment"
|
default: "Deployment"
|
||||||
required: true
|
required: true
|
||||||
enum:
|
enum:
|
||||||
- "Deployment"
|
- value: "Deployment"
|
||||||
- "Job"
|
description: "Deploy a Deployment workload"
|
||||||
- "CronJob"
|
- value: "Job"
|
||||||
|
description: "Deploy job workload"
|
||||||
|
- value: "CronJob"
|
||||||
|
description: "Deploy cronjob workload"
|
||||||
|
|
||||||
# Cronjob schedule
|
# Cronjob schedule
|
||||||
- variable: cronSchedule
|
- variable: cronSchedule
|
||||||
|
@ -72,9 +75,12 @@ questions:
|
||||||
type: string
|
type: string
|
||||||
default: "IfNotPresent"
|
default: "IfNotPresent"
|
||||||
enum:
|
enum:
|
||||||
- "IfNotPresent"
|
- value: "IfNotPresent"
|
||||||
- "Always"
|
description: "Only pull image if not present on host"
|
||||||
- "Never"
|
- value: "Always"
|
||||||
|
description: "Always pull image even if present on host"
|
||||||
|
- value: "Never"
|
||||||
|
description: "Never pull image even if it's not present on host"
|
||||||
|
|
||||||
# Update strategy
|
# Update strategy
|
||||||
- variable: updateStrategy
|
- variable: updateStrategy
|
||||||
|
@ -86,8 +92,10 @@ questions:
|
||||||
show_if: [["workloadType", "=", "Deployment"]]
|
show_if: [["workloadType", "=", "Deployment"]]
|
||||||
default: "RollingUpdate"
|
default: "RollingUpdate"
|
||||||
enum:
|
enum:
|
||||||
- "RollingUpdate"
|
- value: "RollingUpdate"
|
||||||
- "Recreate"
|
description: "Create new pods and then kill old ones"
|
||||||
|
- value: "Recreate"
|
||||||
|
description: "Kill existing pods before creating new ones"
|
||||||
|
|
||||||
# Restart Policy
|
# Restart Policy
|
||||||
- variable: restartPolicy
|
- variable: restartPolicy
|
||||||
|
@ -98,9 +106,12 @@ questions:
|
||||||
show_if: [["workloadType", "=", "Deployment"]]
|
show_if: [["workloadType", "=", "Deployment"]]
|
||||||
default: "Always"
|
default: "Always"
|
||||||
enum:
|
enum:
|
||||||
- "Always"
|
- value: "Always"
|
||||||
- "OnFailure"
|
description: "Always restart containers in a pod if they exit"
|
||||||
- "Never"
|
- value: "OnFailure"
|
||||||
|
description: "Only restart containers if they exit with a failure"
|
||||||
|
- value: "Never"
|
||||||
|
description: "Never restart containers if they exit"
|
||||||
- variable: jobRestartPolicy
|
- variable: jobRestartPolicy
|
||||||
description: "Restart Policy for workload"
|
description: "Restart Policy for workload"
|
||||||
label: "Restart Policy"
|
label: "Restart Policy"
|
||||||
|
@ -109,8 +120,10 @@ questions:
|
||||||
default: "OnFailure"
|
default: "OnFailure"
|
||||||
show_if: [["workloadType", "!=", "Deployment"]]
|
show_if: [["workloadType", "!=", "Deployment"]]
|
||||||
enum:
|
enum:
|
||||||
- "OnFailure"
|
- value: "OnFailure"
|
||||||
- "Never"
|
description: "Only restart job if it fails"
|
||||||
|
- value: "Never"
|
||||||
|
description: "Never restart job even if it fails"
|
||||||
|
|
||||||
# Configurable CMD / Entrypoint / Environment Variables
|
# Configurable CMD / Entrypoint / Environment Variables
|
||||||
- variable: containerCommand
|
- variable: containerCommand
|
||||||
|
@ -201,8 +214,10 @@ questions:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
enum:
|
enum:
|
||||||
- "dhcp"
|
- value: "dhcp"
|
||||||
- "static"
|
description: "Use DHCP"
|
||||||
|
- value: "static"
|
||||||
|
description: "Use static IP"
|
||||||
show_subquestions_if: "static"
|
show_subquestions_if: "static"
|
||||||
subquestions:
|
subquestions:
|
||||||
- variable: staticIPConfigurations
|
- variable: staticIPConfigurations
|
||||||
|
@ -246,8 +261,10 @@ questions:
|
||||||
type: string
|
type: string
|
||||||
default: "Default"
|
default: "Default"
|
||||||
enum:
|
enum:
|
||||||
- "Default"
|
- value: "Default"
|
||||||
- "None"
|
description: "Use Default DNS Policy"
|
||||||
|
- value: "None"
|
||||||
|
description: "Ignore DNS settings from the Kuberentes cluster"
|
||||||
- variable: dnsConfig
|
- variable: dnsConfig
|
||||||
label: "DNS Configuration"
|
label: "DNS Configuration"
|
||||||
group: "Networking"
|
group: "Networking"
|
||||||
|
@ -304,8 +321,10 @@ questions:
|
||||||
type: string
|
type: string
|
||||||
default: "TCP"
|
default: "TCP"
|
||||||
enum:
|
enum:
|
||||||
- "TCP"
|
- value: "TCP"
|
||||||
- "UDP"
|
description: "TCP Protocol"
|
||||||
|
- value: "UDP"
|
||||||
|
description: "UDP Protocol"
|
||||||
|
|
||||||
# Storage Options
|
# Storage Options
|
||||||
# Host path based volumes
|
# Host path based volumes
|
||||||
|
|
Loading…
Reference in New Issue