Skip to content

Commit dd7ffc2

Browse files
authored
fix: questions and values file for CE and EE (#65)
1 parent a023f98 commit dd7ffc2

29 files changed

+208
-144
lines changed

charts/plane-ce/README.md

+13-5
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@
7878
|---|:---:|:---:|---|
7979
| postgres.local_setup | true | | Plane uses `postgres` as the primary database to store all the transactional data. This database can be hosted within kubernetes as part of helm chart deployment or can be used as hosted service remotely (e.g. aws rds or similar services). Set this to `true` when you choose to setup stateful deployment of `postgres`. Mark it as `false` when using a remotely hosted database |
8080
| postgres.image | postgres:15.7-alpine | | Using this key, user must provide the docker image name to setup the stateful deployment of `postgres`. (must be set when `postgres.local_setup=true`)|
81+
| postgres.pullPolicy | IfNotPresent | | Using this key, user can set the pull policy for the stateful deployment of `postgres`. (must be set when `postgres.local_setup=true`)|
8182
| postgres.servicePort | 5432 | | This key sets the default port number to be used while setting up stateful deployment of `postgres`. |
82-
| postgres.cliConnectPort | | | If you intend to access the hosted stateful deployment of postgres using any of the client tools (e.g Postico), this key helps you expose the port. The mentioned port must not be occupied by any other applicaiton |
8383
| postgres.volumeSize | 5Gi | | While setting up the stateful deployment, while creating the persistant volume, volume allocation size need to be provided. This key helps you set the volume allocation size. Unit of this value must be in Mi (megabyte) or Gi (gigabyte) |
8484
| env.pgdb_username | plane | | Database credentials are requried to access the hosted stateful deployment of `postgres`. Use this key to set the username for the stateful deployment. |
8585
| env.pgdb_password | plane | | Database credentials are requried to access the hosted stateful deployment of `postgres`. Use this key to set the password for the stateful deployment. |
@@ -94,6 +94,7 @@
9494
|---|:---:|:---:|---|
9595
| redis.local_setup | true | | Plane uses `redis` to cache the session authentication and other static data. This database can be hosted within kubernetes as part of helm chart deployment or can be used as hosted service remotely (e.g. aws rds or similar services). Set this to `true` when you choose to setup stateful deployment of `redis`. Mark it as `false` when using a remotely hosted database |
9696
| redis.image | valkey/valkey:7.2.5-alpine | | Using this key, user must provide the docker image name to setup the stateful deployment of `redis`. (must be set when `redis.local_setup=true`)|
97+
| redis.pullPolicy | IfNotPresent | | Using this key, user can set the pull policy for the stateful deployment of `redis`. (must be set when `redis.local_setup=true`)|
9798
| redis.servicePort | 6379 | | This key sets the default port number to be used while setting up stateful deployment of `redis`. |
9899
| redis.volumeSize | 1Gi | | While setting up the stateful deployment, while creating the persistant volume, volume allocation size need to be provided. This key helps you set the volume allocation size. Unit of this value must be in Mi (megabyte) or Gi (gigabyte) |
99100
| env.remote_redis_url | | | Users can also decide to use the remote hosted database and link to Plane deployment. Ignoring all the above keys, set `redis.local_setup` to `false` and set this key with remote connection url. |
@@ -107,6 +108,7 @@
107108
|---|:---:|:---:|---|
108109
| rabbitmq.local_setup | true | | Plane uses `rabbitmq` as message queuing system. This can be hosted within kubernetes as part of helm chart deployment or can be used as hosted service remotely (e.g. aws mq or similar services). Set this to `true` when you choose to setup stateful deployment of `rabbitmq`. Mark it as `false` when using a remotely hosted service |
109110
| rabbitmq.image | rabbitmq:3.13.6-management-alpine | | Using this key, user must provide the docker image name to setup the stateful deployment of `rabbitmq`. (must be set when `rabbitmq.local_setup=true`)|
111+
| rabbitmq.pullPolicy | IfNotPresent | | Using this key, user can set the pull policy for the stateful deployment of `rabbitmq`. (must be set when `rabbitmq.local_setup=true`)|
110112
| rabbitmq.servicePort | 5672 | | This key sets the default port number to be used while setting up stateful deployment of `rabbitmq`. |
111113
| rabbitmq.managementPort | 15672 | | This key sets the default management port number to be used while setting up stateful deployment of `rabbitmq`. |
112114
| rabbitmq.volumeSize | 100Mi | | While setting up the stateful deployment, while creating the persistant volume, volume allocation size need to be provided. This key helps you set the volume allocation size. Unit of this value must be in Mi (megabyte) or Gi (gigabyte) |
@@ -123,6 +125,7 @@
123125
| minio.local_setup | true | | Plane uses `minio` as the default file storage drive. This storage can be hosted within kubernetes as part of helm chart deployment or can be used as hosted service remotely (e.g. aws S3 or similar services). Set this to `true` when you choose to setup stateful deployment of `postgres`. Mark it as `false` when using a remotely hosted database |
124126
| minio.image | minio/minio:latest | | Using this key, user must provide the docker image name to setup the stateful deployment of `minio`. (must be set when `minio.local_setup=true`)|
125127
| minio.image_mc | minio/mc:latest | | Using this key, user must provide the docker image name to setup the job deployment of `minio client`. (must be set when `services.minio.local_setup=true`)|
128+
| minio.pullPolicy | IfNotPresent | | Using this key, user can set the pull policy for the stateful deployment of `minio`. (must be set when `minio.local_setup=true`)|
126129
| minio.volumeSize | 5Gi | | While setting up the stateful deployment, while creating the persistant volume, volume allocation size need to be provided. This key helps you set the volume allocation size. Unit of this value must be in Mi (megabyte) or Gi (gigabyte) |
127130
| minio.root_user | admin | | Storage credentials are requried to access the hosted stateful deployment of `minio`. Use this key to set the username for the stateful deployment. |
128131
| minio.root_password | password | | Storage credentials are requried to access the hosted stateful deployment of `minio`. Use this key to set the password for the stateful deployment. |
@@ -143,6 +146,7 @@
143146
| web.memoryLimit | 1000Mi | | Every deployment in kubernetes can be set to use maximum memory they are allowed to use. This key sets the memory limit for this deployment to use.|
144147
| web.cpuLimit | 500m | | Every deployment in kubernetes can be set to use maximum cpu they are allowed to use. This key sets the cpu limit for this deployment to use.|
145148
| web.image| makeplane/plane-frontend | | This deployment needs a preconfigured docker image to function. Docker image name is provided by the owner and must not be changed for this deployment |
149+
| web.pullPolicy | Always | | Using this key, user can set the pull policy for the deployment of `web`. |
146150
| web.assign_cluster_ip | false | | Set it to `true` if you want to assign `ClusterIP` to the service |
147151

148152
### Space Deployment
@@ -153,6 +157,7 @@
153157
| space.memoryLimit | 1000Mi | | Every deployment in kubernetes can be set to use maximum memory they are allowed to use. This key sets the memory limit for this deployment to use.|
154158
| space.cpuLimit | 500m | | Every deployment in kubernetes can be set to use maximum cpu they are allowed to use. This key sets the cpu limit for this deployment to use.|
155159
| space.image| makeplane/plane-space| | This deployment needs a preconfigured docker image to function. Docker image name is provided by the owner and must not be changed for this deployment |
160+
| space.pullPolicy | Always | | Using this key, user can set the pull policy for the deployment of `space`. |
156161
| space.assign_cluster_ip | false | | Set it to `true` if you want to assign `ClusterIP` to the service |
157162

158163
### Admin Deployment
@@ -163,6 +168,7 @@
163168
| admin.memoryLimit | 1000Mi | | Every deployment in kubernetes can be set to use maximum memory they are allowed to use. This key sets the memory limit for this deployment to use.|
164169
| admin.cpuLimit | 500m | | Every deployment in kubernetes can be set to use maximum cpu they are allowed to use. This key sets the cpu limit for this deployment to use.|
165170
| admin.image| makeplane/plane-admin | | This deployment needs a preconfigured docker image to function. Docker image name is provided by the owner and must not be changed for this deployment |
171+
| admin.pullPolicy | Always | | Using this key, user can set the pull policy for the deployment of `admin`. |
166172
| admin.assign_cluster_ip | false | | Set it to `true` if you want to assign `ClusterIP` to the service |
167173

168174
### Live Service Deployment
@@ -173,6 +179,7 @@
173179
| live.memoryLimit | 1000Mi | | Every deployment in kubernetes can be set to use maximum memory they are allowed to use. This key sets the memory limit for this deployment to use.|
174180
| live.cpuLimit | 500m | | Every deployment in kubernetes can be set to use maximum cpu they are allowed to use. This key sets the cpu limit for this deployment to use.|
175181
| live.image| makeplane/plane-live | | This deployment needs a preconfigured docker image to function. Docker image name is provided by the owner and must not be changed for this deployment |
182+
| live.pullPolicy | Always | | Using this key, user can set the pull policy for the deployment of `live`. |
176183
| env.live_sentry_dsn | | | (optional) Live service deployment comes with some of the preconfigured integration. Sentry is one among those. Here user can set the Sentry provided DSN for this integration.|
177184
| env.live_sentry_environment | | | (optional) Live service deployment comes with some of the preconfigured integration. Sentry is one among those. Here user can set the Sentry environment name (as configured in Sentry) for this integration.|
178185
| env.live_sentry_traces_sample_rate | | | (optional) Live service deployment comes with some of the preconfigured integration. Sentry is one among those. Here user can set the Sentry trace sample rate (as configured in Sentry) for this integration.|
@@ -186,6 +193,7 @@
186193
| api.memoryLimit | 1000Mi | | Every deployment in kubernetes can be set to use maximum memory they are allowed to use. This key sets the memory limit for this deployment to use.|
187194
| api.cpuLimit | 500m | | Every deployment in kubernetes can be set to use maximum cpu they are allowed to use. This key sets the cpu limit for this deployment to use.|
188195
| api.image| makeplane/plane-backend | | This deployment needs a preconfigured docker image to function. Docker image name is provided by the owner and must not be changed for this deployment |
196+
| api.pullPolicy | Always | | Using this key, user can set the pull policy for the deployment of `api`. |
189197
| env.sentry_dsn | | | (optional) API service deployment comes with some of the preconfigured integration. Sentry is one among those. Here user can set the Sentry provided DSN for this integration.|
190198
| env.sentry_environment | | | (optional) API service deployment comes with some of the preconfigured integration. Sentry is one among those. Here user can set the Sentry environment name (as configured in Sentry) for this integration.|
191199
| api.assign_cluster_ip | false | | Set it to `true` if you want to assign `ClusterIP` to the service |
@@ -213,10 +221,10 @@
213221
| Setting | Default | Required | Description |
214222
|---|:---:|:---:|---|
215223
| ingress.enabled | true | | Ingress setup in kubernetes is a common practice to expose application to the intended audience. Set it to `false` if you are using external ingress providers like `Cloudflare` |
216-
| ingress.appHost | 'plane.example.com' | Yes | The fully-qualified domain name (FQDN) in the format `sudomain.domain.tld` or `domain.tld` that the license is bound to. It is also attached to your `ingress` host to access Plane. |
217-
| ingress.minioHost | 'plane-minio.example.com' | | Based on above configuration, if you want to expose the `minio` web console to set of users, use this key to set the `host` mapping or leave it as `EMPTY` to not expose interface. |
218-
| ingress.rabbitmqHost | 'plane-mq.example.com' | | Based on above configuration, if you want to expose the `rabbitmq` web console to set of users, use this key to set the `host` mapping or leave it as `EMPTY` to not expose interface. |
219-
| ingress.ingressClass | 'nginx' | Yes | Kubernetes cluster setup comes with various options of `ingressClass`. Based on your setup, set this value to the right one (eg. nginx, traefik, etc). Leave it to default in case you are using external ingress provider.|
224+
| ingress.appHost | plane.example.com | Yes | The fully-qualified domain name (FQDN) in the format `sudomain.domain.tld` or `domain.tld` that the license is bound to. It is also attached to your `ingress` host to access Plane. |
225+
| ingress.minioHost | | | Based on above configuration, if you want to expose the `minio` web console to set of users, use this key to set the `host` mapping or leave it as `EMPTY` to not expose interface. |
226+
| ingress.rabbitmqHost | | | Based on above configuration, if you want to expose the `rabbitmq` web console to set of users, use this key to set the `host` mapping or leave it as `EMPTY` to not expose interface. |
227+
| ingress.ingressClass | nginx | Yes | Kubernetes cluster setup comes with various options of `ingressClass`. Based on your setup, set this value to the right one (eg. nginx, traefik, etc). Leave it to default in case you are using external ingress provider.|
220228
| ingress.ingress_annotations | `{ "nginx.ingress.kubernetes.io/proxy-body-size": "5m" }` | | Ingress controllers comes with various configuration options which can be passed as annotations. Setting this value lets you change the default value to user required. |
221229
| ssl.createIssuer | false | | Kubernets cluster setup supports creating `issuer` type resource. After deployment, this is step towards creating secure access to the ingress url. Issuer is required for you generate SSL certifiate. Kubernetes can be configured to use any of the certificate authority to generate SSL (depending on CertManager configuration). Set it to `true` to create the issuer. Applicable only when `ingress.enabled=true`|
222230
| ssl.issuer | http | | CertManager configuration allows user to create issuers using `http` or any of the other DNS Providers like `cloudflare`, `digitalocean`, etc. As of now Plane supports `http`, `cloudflare`, `digitalocean`|

charts/plane-ce/questions.yml

+36-22
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ questions:
1616
- variable: dockerRegistry.password
1717
label: "Password/Token"
1818
type: password
19+
1920
- variable: planeVersion
2021
label: Plane Version (Docker Image Tag)
2122
type: string
@@ -37,7 +38,7 @@ questions:
3738
- "Always"
3839
- "IfNotPresent"
3940
- "Never"
40-
default: "IfNotPresent"
41+
default: "Always"
4142
- variable: web.replicas
4243
label: "Default Replica Count"
4344
type: int
@@ -69,7 +70,7 @@ questions:
6970
- "Always"
7071
- "IfNotPresent"
7172
- "Never"
72-
default: "IfNotPresent"
73+
default: "Always"
7374
- variable: space.replicas
7475
label: "Default Replica Count"
7576
type: int
@@ -101,7 +102,7 @@ questions:
101102
- "Always"
102103
- "IfNotPresent"
103104
- "Never"
104-
default: "IfNotPresent"
105+
default: "Always"
105106
- variable: admin.replicas
106107
label: "Default Replica Count"
107108
type: int
@@ -134,7 +135,7 @@ questions:
134135
- "Always"
135136
- "IfNotPresent"
136137
- "Never"
137-
default: "IfNotPresent"
138+
default: "Always"
138139
- variable: live.replicas
139140
label: "Default Replica Count"
140141
type: int
@@ -151,7 +152,6 @@ questions:
151152
label: "Assign Cluster IP"
152153
type: boolean
153154
default: false
154-
155155
- variable: env.live_sentry_dsn
156156
label: "Live Sentry DSN"
157157
type: string
@@ -180,7 +180,7 @@ questions:
180180
- "Always"
181181
- "IfNotPresent"
182182
- "Never"
183-
default: "IfNotPresent"
183+
default: "Always"
184184
- variable: api.replicas
185185
label: "Default Replica Count"
186186
type: int
@@ -214,8 +214,6 @@ questions:
214214
type: string
215215
required: true
216216
default: "60gp0byfz2dvffa45cxl20p1scy9xbpf6d8c5y0geejgkyp1b5"
217-
subquestions:
218-
219217

220218
- variable: worker.replicas
221219
label: "Default Replica Count"
@@ -253,6 +251,14 @@ questions:
253251
default: true
254252
group: "Redis Setup"
255253
subquestions:
254+
- variable: redis.pullPolicy
255+
label: "Redis Pull Policy"
256+
type: enum
257+
options:
258+
- "Always"
259+
- "IfNotPresent"
260+
- "Never"
261+
default: "IfNotPresent"
256262
- variable: redis.image
257263
label: "Docker Image"
258264
type: string
@@ -265,8 +271,7 @@ questions:
265271
show_if: "redis.local_setup=true"
266272
- variable: redis.storageClass
267273
label: "Storage Class"
268-
type: string
269-
default: "longhorn"
274+
type: storageclass
270275
show_if: "redis.local_setup=true"
271276
- variable: redis.volumeSize
272277
label: "Volume Size"
@@ -291,6 +296,14 @@ questions:
291296
group: "Postgres Setup"
292297
# show_subquestion_if: true
293298
subquestions:
299+
- variable: postgres.pullPolicy
300+
label: "Postgres Pull Policy"
301+
type: enum
302+
options:
303+
- "Always"
304+
- "IfNotPresent"
305+
- "Never"
306+
default: "IfNotPresent"
294307
- variable: postgres.image
295308
label: "Docker Image"
296309
type: string
@@ -301,14 +314,9 @@ questions:
301314
type: int
302315
default: 5432
303316
show_if: "postgres.local_setup=true"
304-
- variable: postgres.cliConnectPort
305-
label: CLI Connect Port
306-
type: int
307-
show_if: "postgres.local_setup=true"
308317
- variable: postgres.storageClass
309318
label: "Storage Class"
310-
type: string
311-
default: "longhorn"
319+
type: storageclass
312320
show_if: "postgres.local_setup=true"
313321
- variable: postgres.volumeSize
314322
label: "Volume Size"
@@ -378,8 +386,7 @@ questions:
378386
show_if: "rabbitmq.local_setup=true"
379387
- variable: rabbitmq.storageClass
380388
label: "Storage Class"
381-
type: string
382-
default: "longhorn"
389+
type: storageclass
383390
show_if: "rabbitmq.local_setup=true"
384391
- variable: rabbitmq.volumeSize
385392
label: "Volume Size"
@@ -407,6 +414,14 @@ questions:
407414
default: true
408415
group: "Storage Setup"
409416
subquestions:
417+
- variable: minio.pullPolicy
418+
label: "Minio Pull Policy"
419+
type: enum
420+
options:
421+
- "Always"
422+
- "IfNotPresent"
423+
- "Never"
424+
default: "IfNotPresent"
410425
- variable: minio.image
411426
label: "Docker Image"
412427
type: string
@@ -429,8 +444,7 @@ questions:
429444
show_if: "minio.local_setup=true"
430445
- variable: minio.storageClass
431446
label: "Storage Class"
432-
type: string
433-
default: "longhorn"
447+
type: storageclass
434448
show_if: "minio.local_setup=true"
435449
- variable: minio.volumeSize
436450
label: "Volume Size"
@@ -486,12 +500,12 @@ questions:
486500
- variable: ingress.minioHost
487501
label: "Minio Host"
488502
type: string
489-
default: "plane-minio.example.com"
503+
default: ""
490504
show_if: "minio.local_setup=true"
491505
- variable: ingress.rabbitmqHost
492506
label: "Rabbitmq Host"
493507
type: string
494-
default: "plane-rabbitmq.example.com"
508+
default: ""
495509
show_if: "rabbitmq.local_setup=true"
496510
- variable: ingress.ingressClass
497511
label: "Ingress Classname"

charts/plane-ce/templates/workloads/admin.deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:
4040
spec:
4141
containers:
4242
- name: {{ .Release.Name }}-admin
43-
imagePullPolicy: {{ .Values.admin.pullPolicy | default "IfNotPresent" }}
43+
imagePullPolicy: {{ .Values.admin.pullPolicy | default "Always" }}
4444
image: {{ .Values.admin.image | default "makeplane/plane-frontend" }}:{{ .Values.planeVersion }}
4545
stdin: true
4646
tty: true

charts/plane-ce/templates/workloads/api.deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:
4040
spec:
4141
containers:
4242
- name: {{ .Release.Name }}-api
43-
imagePullPolicy: {{ .Values.api.pullPolicy | default "IfNotPresent" }}
43+
imagePullPolicy: {{ .Values.api.pullPolicy | default "Always" }}
4444
image: {{ .Values.api.image | default "makeplane/plane-backend" }}:{{ .Values.planeVersion }}
4545
stdin: true
4646
tty: true

charts/plane-ce/templates/workloads/beat-worker.deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
spec:
1919
containers:
2020
- name: {{ .Release.Name }}-beat-worker
21-
imagePullPolicy: {{ .Values.beatworker.pullPolicy | default "IfNotPresent" }}
21+
imagePullPolicy: {{ .Values.beatworker.pullPolicy | default "Always" }}
2222
image: {{ .Values.beatworker.image | default "makeplane/plane-backend" }}:{{ .Values.planeVersion }}
2323
stdin: true
2424
tty: true

0 commit comments

Comments
 (0)