-
Notifications
You must be signed in to change notification settings - Fork 0
/
questions.yml
90 lines (90 loc) · 2.25 KB
/
questions.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
categories:
- General
questions:
- variable: deployment.enabled
default: "true"
description: "Enable the Deployment resource"
type: boolean
required: true
label: Deployment Enabled
group: "Workload Settings"
# this is not possible until https://github.com/rancher/rancher/issues/13952 is solved
# - variable: ingress.enabled
# default: "false"
# description: "Enable the Ingress resource"
# type: boolean
# label: Ingress
# group: "Workload Settings"
# show_subquestion_if: true
# subquestions:
# - variable: ingress.hosts.host
# default:
# type: string
# label: Ingress Hosts
- variable: service.enabled
default: "false"
description: "Enable the Service resource"
type: boolean
required: true
label: Service Enabled
show_subquestion_if: true
group: "Workload Settings"
subquestions:
- variable: service.port
default: 80
description: Port used by the service
type: int
label: Service Port
- variable: service.type
default: ClusterIP
description: The type of service to expose
type: enum
label: "Service Type"
options:
- ClusterIP
- NodePort
- LoadBalancer
- ExternalName
- variable: image.repository
default: "nginx"
description: "Default image repository used for workloads"
type: string
required: true
label: Image Repository
group: Primary Image
- variable: image.tag
default: "stable"
description: "Default image tag used for workloads"
type: string
required: true
label: Image Tag
group: Primary Image
- variable: image.containerPort
description: "Default port listening from the container image"
default: 80
type: int
required: true
label: Image/Container Port
group: Primary Image
- variable: image.pullPolicy
default: "IfNotPresent"
options:
- IfNotPresent
- Always
description: "Default image pull policy used for workloads"
type: enum
required: true
label: Image Pull Policy
group: Primary Image
- variable: command
description: "Override the default command used in the image"
type: string
required: false
label: Image Command
group: Primary Image
- variable: args
description: "Override the default arguments used in the image"
type: string
required: false
label: Image Arguments
group: Primary Image