From 9f6d434b888d2075bc17a15b5d039f0a2fc73a15 Mon Sep 17 00:00:00 2001 From: Manish Gupta Date: Wed, 18 Sep 2024 20:21:36 +0530 Subject: [PATCH 1/4] updated enterprise readme --- charts/plane-enterprise/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/plane-enterprise/README.md b/charts/plane-enterprise/README.md index b887dae..f1c0c81 100644 --- a/charts/plane-enterprise/README.md +++ b/charts/plane-enterprise/README.md @@ -97,7 +97,7 @@ | Setting | Default | Required | Description | |---|:---:|:---:|---| -| planeVersion | v1.2.1 | Yes | Specifies the version of Plane to be deployed. Copy this from prime.plane.so. | +| planeVersion | v1.3.0 | Yes | Specifies the version of Plane to be deployed. Copy this from prime.plane.so. | | license.licenseServer | | Yes | Sets the value of the `licenseServer` that gets you your license and validates it periodically. Don't change this. | | license.licenseDomain | '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. | From c3381d3c622cbd27663beb3ee47fd129c8d1d6fe Mon Sep 17 00:00:00 2001 From: Akshat Jain Date: Mon, 30 Sep 2024 16:22:16 +0530 Subject: [PATCH 2/4] Fix rabbitmq storageClass Issue (#43) * Fix rabbitmq storageClass Issue * changed planeVersion * add: timestamp to monitor deployment * changed planeVersion to v1.3.1 --- charts/plane-enterprise/Chart.yaml | 2 +- charts/plane-enterprise/questions.yml | 2 +- .../plane-enterprise/templates/workloads/monitor.stateful.yaml | 2 ++ .../templates/workloads/rabbitmq.stateful.yaml | 2 +- charts/plane-enterprise/values.yaml | 3 +-- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/charts/plane-enterprise/Chart.yaml b/charts/plane-enterprise/Chart.yaml index de651e5..d636b92 100644 --- a/charts/plane-enterprise/Chart.yaml +++ b/charts/plane-enterprise/Chart.yaml @@ -5,7 +5,7 @@ description: Meet Plane. An Enterprise software development tool to manage issue type: application -version: 1.0.11 +version: 1.0.12 appVersion: "1.3.0" home: https://plane.so/ diff --git a/charts/plane-enterprise/questions.yml b/charts/plane-enterprise/questions.yml index 6d38a16..b0ac1d9 100644 --- a/charts/plane-enterprise/questions.yml +++ b/charts/plane-enterprise/questions.yml @@ -353,7 +353,7 @@ questions: type: boolean default: false show_if: "services.rabbitmq.local_setup=true" - - variable: services.rabbitmq.storageClass + - variable: env.storageClass label: "Storage Class" type: string default: "longhorn" diff --git a/charts/plane-enterprise/templates/workloads/monitor.stateful.yaml b/charts/plane-enterprise/templates/workloads/monitor.stateful.yaml index 4373156..d511095 100644 --- a/charts/plane-enterprise/templates/workloads/monitor.stateful.yaml +++ b/charts/plane-enterprise/templates/workloads/monitor.stateful.yaml @@ -32,6 +32,8 @@ spec: metadata: labels: app.name: {{ .Release.Namespace }}-{{ .Release.Name }}-monitor + annotations: + timestamp: {{ now | quote }} spec: containers: - image: {{ .Values.services.monitor.image | default "registry.plane.tools/plane/monitor-enterprise" }}:{{ .Values.planeVersion }} diff --git a/charts/plane-enterprise/templates/workloads/rabbitmq.stateful.yaml b/charts/plane-enterprise/templates/workloads/rabbitmq.stateful.yaml index 1e5e00a..6fe1c20 100644 --- a/charts/plane-enterprise/templates/workloads/rabbitmq.stateful.yaml +++ b/charts/plane-enterprise/templates/workloads/rabbitmq.stateful.yaml @@ -67,7 +67,7 @@ spec: resources: requests: storage: {{ .Values.services.rabbitmq.volumeSize | default "100Mi" | quote }} - storageClassName: {{ .Values.services.rabbitmq.storageClass }} + storageClassName: {{ .Values.env.storageClass }} volumeMode: Filesystem {{- end }} \ No newline at end of file diff --git a/charts/plane-enterprise/values.yaml b/charts/plane-enterprise/values.yaml index e4fe932..9359282 100644 --- a/charts/plane-enterprise/values.yaml +++ b/charts/plane-enterprise/values.yaml @@ -1,4 +1,4 @@ -planeVersion: v1.3.0 +planeVersion: v1.3.1 dockerRegistry: enabled: false @@ -48,7 +48,6 @@ services: image: rabbitmq:3.13.6-management-alpine servicePort: 5672 managementPort: 15672 - storageClass: longhorn volumeSize: 100Mi default_user: plane default_password: plane From b74f9289da4eaffeb5921cc1aac5912fefc2682c Mon Sep 17 00:00:00 2001 From: Manish Gupta Date: Tue, 1 Oct 2024 10:10:40 +0530 Subject: [PATCH 3/4] updated EE Readme with RabbitMQ Setup --- charts/plane-enterprise/Chart.yaml | 2 +- charts/plane-enterprise/README.md | 43 ++++++++++++++++++++---------- 2 files changed, 30 insertions(+), 15 deletions(-) diff --git a/charts/plane-enterprise/Chart.yaml b/charts/plane-enterprise/Chart.yaml index d636b92..aafd434 100644 --- a/charts/plane-enterprise/Chart.yaml +++ b/charts/plane-enterprise/Chart.yaml @@ -6,7 +6,7 @@ description: Meet Plane. An Enterprise software development tool to manage issue type: application version: 1.0.12 -appVersion: "1.3.0" +appVersion: "1.3.1" home: https://plane.so/ icon: https://plane.so/favicon/favicon-32x32.png diff --git a/charts/plane-enterprise/README.md b/charts/plane-enterprise/README.md index f1c0c81..5e91c79 100644 --- a/charts/plane-enterprise/README.md +++ b/charts/plane-enterprise/README.md @@ -84,7 +84,7 @@ ## Available customizations -### Docker registry + ### License | Setting | Default | Required | Description | |---|:---:|:---:|---| -| planeVersion | v1.3.0 | Yes | Specifies the version of Plane to be deployed. Copy this from prime.plane.so. | +| planeVersion | v1.3.1 | Yes | Specifies the version of Plane to be deployed. Copy this from prime.plane.so. | | license.licenseServer | | Yes | Sets the value of the `licenseServer` that gets you your license and validates it periodically. Don't change this. | -| license.licenseDomain | '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. | +| license.licenseDomain | 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. | ### Postgres @@ -127,6 +127,20 @@ | services.redis.assign_cluster_ip | false | | Set it to `true` if you want to assign `ClusterIP` to the service | | 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 `services.redis.local_setup` to `false` and set this key with remote connection url. | +### RabbitMQ Setup + +| Setting | Default | Required | Description | +|---|:---:|:---:|---| +| services.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 | +| services.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 `services.rabbitmq.local_setup=true`)| +| services.rabbitmq.servicePort | 5672 | | This key sets the default port number to be used while setting up stateful deployment of `rabbitmq`. | +| services.rabbitmq.managementPort | 15672 | | This key sets the default management port number to be used while setting up stateful deployment of `rabbitmq`. | +| services.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) | +| services.rabbitmq.default_user | plane | | Credentials are requried to access the hosted stateful deployment of `rabbitmq`. Use this key to set the username for the stateful deployment. | +| services.rabbitmq.default_password | plane | | Credentials are requried to access the hosted stateful deployment of `rabbitmq`. Use this key to set the password for the stateful deployment. | +| services.rabbitmq.assign_cluster_ip | false | | Set it to `true` if you want to assign `ClusterIP` to the service | +| services.rabbitmq.external_rabbitmq_url | | | Users can also decide to use the remote hosted service and link to Plane deployment. Ignoring all the above keys, set `services.rabbitmq.local_setup` to `false` and set this key with remote connection url. | + ### Doc Store (Minio/S3) Setup | Setting | Default | Required | Description | @@ -251,13 +265,14 @@ If you are planning to use 3rd party ingress providers, here is the available route configuration -| Host | Path | Service | -|--- |:---:|---| -| plane.example.com | / | | -| plane.example.com | /spaces/* | | -| plane.example.com | /god-mode/* | | -| plane.example.com | /live/* | | -| plane.example.com | /api/* | | -| plane.example.com | /auth/* | | -| plane.example.com | /uploads/* | | -| plane-minio.example.com | / | | +| Host | Path | Service | Required | +|--- |:---:|---|:--- | +| plane.example.com | / | | Yes | +| plane.example.com | /spaces/* | | Yes | +| plane.example.com | /god-mode/* | | Yes | +| plane.example.com | /live/* | | Yes | +| plane.example.com | /api/* | | Yes | +| plane.example.com | /auth/* | | Yes | +| plane.example.com | /uploads/* | | Yes (Only if using local setup) | +| plane-minio.example.com | / | | (Optional) if using local setup, this will enable minio console access | +| plane-mq.example.com | / | | (Optional) if using local setuo, this will enable management console access | From 62bc821eb4049bedd1fe655f2c072bb6715a6a2d Mon Sep 17 00:00:00 2001 From: Manish Gupta Date: Tue, 1 Oct 2024 10:13:14 +0530 Subject: [PATCH 4/4] updated questions.yml --- charts/plane-enterprise/questions.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/charts/plane-enterprise/questions.yml b/charts/plane-enterprise/questions.yml index b0ac1d9..3a687ca 100644 --- a/charts/plane-enterprise/questions.yml +++ b/charts/plane-enterprise/questions.yml @@ -353,11 +353,6 @@ questions: type: boolean default: false show_if: "services.rabbitmq.local_setup=true" - - variable: env.storageClass - label: "Storage Class" - type: string - default: "longhorn" - show_if: "services.rabbitmq.local_setup=true" - variable: services.rabbitmq.volumeSize label: "Volume Size" type: string