From 312752bcbb8835f72da0c18d3d437e5fbb06c75f Mon Sep 17 00:00:00 2001 From: dbumblis <dale@parabol.co> Date: Thu, 13 Mar 2025 19:43:11 +0000 Subject: [PATCH] Upgrade Parabol to v8.35.0, add vars & service config to support Pages, bump chart, update readme --- chart/Chart.yaml | 4 ++-- chart/README.md | 9 +++++---- chart/templates/chronos/deployment.yaml | 2 ++ chart/templates/graphql-executor/deployment.yaml | 2 ++ chart/templates/webserver/deployment.yaml | 2 ++ chart/templates/webserver/service.yaml | 3 +++ chart/values.yaml | 9 ++++++--- 7 files changed, 22 insertions(+), 9 deletions(-) diff --git a/chart/Chart.yaml b/chart/Chart.yaml index 5dc99e8..ae41901 100644 --- a/chart/Chart.yaml +++ b/chart/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 name: parabol description: A Helm chart to deploy Redis, Postgres, and Parabol containers. -version: 2.2.1-bb.2 -appVersion: 8.25.3 +version: 2.3.1-bb.2 +appVersion: 8.35.0 diff --git a/chart/README.md b/chart/README.md index 7f63453..7fc05a0 100644 --- a/chart/README.md +++ b/chart/README.md @@ -1,5 +1,5 @@ # parabol -  +  A Helm chart to deploy redis, postgres, and parabol containers. @@ -138,6 +138,7 @@ Make sure not to expose sensitive details like passwords in the `values.yaml`. I | parabolDeployment.env.goocleCloudPrivateKey | string | `"key_GOOGLE_CLOUD_PRIVATE_KEY"` | Google Service Account Private key (optional variable for use with GCP service account credential) | | parabolDeployment.env.goocleCloudPrivateKeyId | string | `"key_GOOGLE_CLOUD_PRIVATE_KEY_ID"` | Google Private Key ID (optional variable for use with GCP service account credential) | | parabolDeployment.env.googleCloudClientEmail | string | `"key_GOOGLE_CLOUD_CLIENT_EMAIL"` | Google Service Account Email (optional variable if Google services are used) | +| parabolDeployment.env.hocusPocusPort | int | `3003` | Websocket port for Pages support | | parabolDeployment.env.host | string | `"parabol.dev.bigbang.mil"` | The external hostname for Parabol application | | parabolDeployment.env.invitationShortlink | string | `"parabol.dev.bigbang.mil/invitation-link"` | The base URL used to construct invitation shortlinks. | | parabolDeployment.env.isEnterprise | bool | `true` | Flag indicating if the default tier for the instance is Enterprise. Use this for privately managed instances to make all new orgs, teams, and users enterprise tier. This flag is implemented in 7.2.0 or greater. | @@ -164,7 +165,7 @@ Make sure not to expose sensitive details like passwords in the `values.yaml`. I | services.chronos.affinity | object | `{}` | | | services.chronos.annotations | object | `{}` | Pod annotations | | services.chronos.enabled | bool | `true` | Enable or disable Chronos | -| services.chronos.image | string | `"ironbank/parabol/parabol:8.25.3"` | Image to use for deploying Parabol | +| services.chronos.image | string | `"ironbank/parabol/parabol:8.35.0"` | Image to use for deploying Parabol | | services.chronos.livenessProbe | list | `[]` | | | services.chronos.localStorage | object | `{"enabled":false,"storage":"1 Gi"}` | Enable local storage for debugging | | services.chronos.nodeSelector | object | `{}` | Pod spec for adding node constraints | @@ -175,7 +176,7 @@ Make sure not to expose sensitive details like passwords in the `values.yaml`. I | services.chronos.tolerations | list | `[]` | | | services.gqlexecutor.affinity | object | `{}` | | | services.gqlexecutor.annotations | object | `{}` | Pod annotations | -| services.gqlexecutor.image | string | `"ironbank/parabol/parabol:8.25.3"` | Image to use for deploying Parabol | +| services.gqlexecutor.image | string | `"ironbank/parabol/parabol:8.35.0"` | Image to use for deploying Parabol | | services.gqlexecutor.livenessProbe | list | `[]` | | | services.gqlexecutor.nodeSelector | object | `{}` | Pod spec for adding node constraints | | services.gqlexecutor.readinessProbe | list | `[]` | | @@ -197,7 +198,7 @@ Make sure not to expose sensitive details like passwords in the `values.yaml`. I | services.parabol.idp_host | string | `"parabol.dev.bigbang.mil"` | Parabol hostname | | services.parabol.idp_stub | string | `"bigbang"` | This is the unique ID for the SAML entry in DB | | services.parabol.idp_url | string | `"https://fqdn.to.idp.dev.bigbang.mil"` | IDP URL from SAML SP | -| services.parabol.image | string | `"ironbank/parabol/parabol:8.25.3"` | Image to use for deploying Parabol | +| services.parabol.image | string | `"ironbank/parabol/parabol:8.35.0"` | Image to use for deploying Parabol | | services.parabol.livenessProbe | list | `[]` | | | services.parabol.localStorage.accessModes[0] | string | `"ReadWriteMany"` | | | services.parabol.localStorage.awsEbs | bool | `true` | | diff --git a/chart/templates/chronos/deployment.yaml b/chart/templates/chronos/deployment.yaml index 7f61ea4..d9359d5 100644 --- a/chart/templates/chronos/deployment.yaml +++ b/chart/templates/chronos/deployment.yaml @@ -119,6 +119,8 @@ spec: value: "{{ .Values.parabolDeployment.env.chronosScheduleJobs }}" - name: CHRONOS_BATCH_EMAILS value: "{{ .Values.parabolDeployment.env.chronosBatchEmails }}" + - name: HOCUS_POCUS_PORT + value: "{{ .Values.parabolDeployment.env.hocusPocusPort }}" - name: POD_IP valueFrom: fieldRef: diff --git a/chart/templates/graphql-executor/deployment.yaml b/chart/templates/graphql-executor/deployment.yaml index f903442..f4580f8 100644 --- a/chart/templates/graphql-executor/deployment.yaml +++ b/chart/templates/graphql-executor/deployment.yaml @@ -122,6 +122,8 @@ spec: value: "{{ .Values.parabolDeployment.env.mailSmtpUseTls }}" - name: MAIL_SMTP_CIPHERS value: "{{ .Values.parabolDeployment.env.mailsmtpCiphers }}" + - name: HOCUS_POCUS_PORT + value: "{{ .Values.parabolDeployment.env.hocusPocusPort }}" - name: MATTERMOST_URL value: "{{ .Values.parabolDeployment.env.mattermost.instanceUrl }}" - name: MATTERMOST_SECRET diff --git a/chart/templates/webserver/deployment.yaml b/chart/templates/webserver/deployment.yaml index 9da9926..950c3fe 100644 --- a/chart/templates/webserver/deployment.yaml +++ b/chart/templates/webserver/deployment.yaml @@ -120,6 +120,8 @@ spec: value: "{{ .Values.parabolDeployment.env.mailSmtpUseTls }}" - name: MAIL_SMTP_CIPHERS value: "{{ .Values.parabolDeployment.env.mailsmtpCiphers }}" + - name: HOCUS_POCUS_PORT + value: "{{ .Values.parabolDeployment.env.hocusPocusPort }}" - name: MATTERMOST_URL value: "{{ .Values.parabolDeployment.env.mattermost.instanceUrl }}" - name: MATTERMOST_SECRET diff --git a/chart/templates/webserver/service.yaml b/chart/templates/webserver/service.yaml index df39b76..27523d5 100644 --- a/chart/templates/webserver/service.yaml +++ b/chart/templates/webserver/service.yaml @@ -8,6 +8,9 @@ spec: - name: webserver port: 3000 targetPort: 3000 + - name: websocket + port: 3003 + targetPort: 3003 selector: app.kubernetes.io/component: webserver app.kubernetes.io/name: parabol diff --git a/chart/values.yaml b/chart/values.yaml index 7200501..3bc6019 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -71,7 +71,7 @@ services: parabol: # -- Image to use for deploying Parabol - image: ironbank/parabol/parabol:8.25.3 + image: ironbank/parabol/parabol:8.35.0 # -- Determines if there is a default IDP configure change to true to enable defaultIDP: false # -- This is the unique ID for the SAML entry in DB @@ -174,7 +174,7 @@ services: gqlexecutor: # -- Image to use for deploying Parabol - image: ironbank/parabol/parabol:8.25.3 + image: ironbank/parabol/parabol:8.35.0 # -- Determines if there is a default IDP configure change to true to enable replicas: 1 # -- Container resource requests and limits @@ -203,7 +203,7 @@ services: enabled: false storage: 1 Gi # -- Image to use for deploying Parabol - image: ironbank/parabol/parabol:8.25.3 + image: ironbank/parabol/parabol:8.35.0 # -- Determines if there is a default IDP configure change to true to enable replicas: 1 # -- Container resource requests and limits @@ -266,6 +266,9 @@ parabolDeployment: # -- The port on which the application will be exposed. port: 3000 + # -- Websocket port for Pages support + hocusPocusPort: 3003 + # -- The external hostname for Parabol application host: parabol.dev.bigbang.mil -- GitLab