Skip to content

Commit 57f69ab

Browse files
committed
build rancher integration with index.yaml instead of multiple directories
1 parent 31635ee commit 57f69ab

File tree

1 file changed

+139
-0
lines changed

1 file changed

+139
-0
lines changed

Diff for: charts/postgres-operator-ui/questions.yml

+139
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
questions:
2+
- variable: replicaCount
3+
description: "The number of replicas to deploy for the Postgres Operator UI"
4+
label: "Replicas Count"
5+
type: "int"
6+
default: "1"
7+
required: true
8+
group: "Postgres Operator UI"
9+
- variable: image.registry
10+
description: "The registry where the Postgres Operator UI image is hosted"
11+
label: "Image Registry"
12+
type: "string"
13+
default: "registry.opensource.zalan.do"
14+
required: true
15+
group: "Postgres Operator UI"
16+
- variable: image.repository
17+
description: "The name of the Postgres Operator UI image repository"
18+
label: "Image Repository"
19+
type: "string"
20+
default: "acid/postgres-operator-ui"
21+
required: true
22+
group: "Postgres Operator UI"
23+
- variable: image.tag
24+
description: "The tag of the Postgres Operator UI image to use"
25+
label: "Image Tag"
26+
type: "string"
27+
default: "v1.11.0"
28+
required: true
29+
group: "Postgres Operator UI"
30+
- variable: image.pullPolicy
31+
description: "The image pull policy for the Postgres Operator UI container"
32+
label: "Image Pull Policy"
33+
type: "string"
34+
default: "IfNotPresent"
35+
required: true
36+
group: "Postgres Operator UI"
37+
- variable: rbac.create
38+
description: "Whether to create RBAC resources for the Postgres Operator UI"
39+
label: "Create RBAC"
40+
type: "boolean"
41+
default: "true"
42+
required: true
43+
group: "Postgres Operator UI"
44+
- variable: serviceAccount.create
45+
description: "Whether to create a ServiceAccount for the Postgres Operator UI"
46+
label: "Create ServiceAccount"
47+
type: "boolean"
48+
default: "true"
49+
required: true
50+
group: "Postgres Operator UI"
51+
show_subquestions_if: true
52+
subquestions:
53+
- variable: serviceAccount.name
54+
description: "The name of the ServiceAccount to use. If not set and create is true, a name is generated using the fullname template"
55+
type: "string"
56+
default: ""
57+
label: "ServiceAccount Name"
58+
group: "Postgres Operator UI"
59+
- variable: resources.limits.cpu
60+
description: "The CPU resource limits for the Postgres Operator UI container"
61+
label: "CPU Resource Limits"
62+
type: "string"
63+
default: "200m"
64+
required: true
65+
group: "Postgres Operator UI"
66+
- variable: resources.limits.memory
67+
description: "The memory resource limits for the Postgres Operator UI container"
68+
label: "Memory Resource Limits"
69+
type: "string"
70+
default: "200Mi"
71+
required: true
72+
group: "Postgres Operator UI"
73+
- variable: resources.requests.cpu
74+
description: "The CPU resource requests for the Postgres Operator UI container"
75+
label: "CPU Resource Requests"
76+
type: "string"
77+
default: "100m"
78+
required: true
79+
group: "Postgres Operator UI"
80+
- variable: resources.requests.memory
81+
description: "The memory resource requests for the Postgres Operator UI container"
82+
label: "Memory Resource Requests"
83+
type: "string"
84+
default: "100Mi"
85+
required: true
86+
group: "Postgres Operator UI"
87+
- variable: envs.appUrl
88+
description: "The URL of the Postgres Operator UI"
89+
label: "Postgres Operator UI URL"
90+
type: "string"
91+
default: "http://localhost:8081"
92+
required: true
93+
group: "Postgres Operator UI"
94+
- variable: envs.operatorApiUrl
95+
description: "The URL of the Postgres Operator API"
96+
label: "Postgres Operator API URL"
97+
type: "string"
98+
default: "http://postgres-operator:8080"
99+
required: true
100+
group: "Postgres Operator UI"
101+
- variable: envs.operatorClusterNameLabel
102+
description: "The label used to identify the Postgres Operator cluster"
103+
label: "Postgres Operator Cluster Label"
104+
type: "string"
105+
default: "cluster-name"
106+
required: true
107+
group: "Postgres Operator UI"
108+
- variable: envs.resourcesVisible
109+
description: "Whether to show resource usage information in the Postgres Operator UI"
110+
label: "Show Resource Usage"
111+
type: "boolean"
112+
default: "False"
113+
required: true
114+
group: "Postgres Operator UI"
115+
- variable: envs.targetNamespace
116+
description: "The namespace in which the Postgres Operator is running"
117+
label: "Postgres Operator Namespace"
118+
type: "string"
119+
default: "default"
120+
required: true
121+
group: "Postgres Operator UI"
122+
- variable: service.type
123+
description: "The type of service to create for the Postgres Operator UI"
124+
label: "Service Type"
125+
type: "enum"
126+
options:
127+
- "ClusterIP"
128+
- "NodePort"
129+
default: "ClusterIP"
130+
required: true
131+
group: "Postgres Operator UI"
132+
show_subquestions_if: "NodePort"
133+
subquestions:
134+
- variable: service.nodePort
135+
description: "The node port to use for the NodePort service type"
136+
label: "Node Port"
137+
type: "int"
138+
default: "30080"
139+
group: "Postgres Operator UI"

0 commit comments

Comments
 (0)