From a1e2d414195798ea43cbbd7d8634ac2a0d014486 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Wed, 8 Feb 2023 12:45:18 +0100 Subject: [PATCH] [bitnami/discourse] Release 10.0.0 (#14743) * [bitnami/discourse] Release 10.0.0 updating components versions Signed-off-by: Bitnami Containers * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers * [bitnami/discourse] Update cypress tests Signed-off-by: Gonzalo Gomez Gracia * [bitnami/discourse] Only allow known error message Signed-off-by: Gonzalo Gomez Gracia --------- Signed-off-by: Bitnami Containers Signed-off-by: Gonzalo Gomez Gracia Co-authored-by: Gonzalo Gomez Gracia --- .../cypress/cypress/support/index.js | 10 ++ .vib/discourse/vib-publish.json | 2 +- .vib/discourse/vib-verify.json | 2 +- bitnami/discourse/Chart.lock | 8 +- bitnami/discourse/Chart.yaml | 4 +- bitnami/discourse/README.md | 100 +++++++++--------- bitnami/discourse/values.yaml | 6 +- 7 files changed, 71 insertions(+), 61 deletions(-) diff --git a/.vib/discourse/cypress/cypress/support/index.js b/.vib/discourse/cypress/cypress/support/index.js index 37a498fb5b..3ef0a75b05 100644 --- a/.vib/discourse/cypress/cypress/support/index.js +++ b/.vib/discourse/cypress/cypress/support/index.js @@ -18,3 +18,13 @@ import './commands'; // Alternatively you can use CommonJS syntax: // require('./commands') + +Cypress.on('uncaught:exception', (err, runnable) => { + // Discourse header returns an internal ResizeObserver + // max loop error (from javascript), but the application + // works just fine. Returning false here prevents Cypress + // from failing the test. + if (err.message.includes('ResizeObserver loop limit')) { + return false + } +}) diff --git a/.vib/discourse/vib-publish.json b/.vib/discourse/vib-publish.json index 1f905345da..528ba507cb 100644 --- a/.vib/discourse/vib-publish.json +++ b/.vib/discourse/vib-publish.json @@ -22,7 +22,7 @@ "url": "{SHA_ARCHIVE}", "path": "/bitnami/discourse" }, - "runtime_parameters": "YXV0aDoKICBlbWFpbDogdXNlckBleGFtcGxlLmNvbQogIHVzZXI6IHVzZXIKICBwYXNzd29yZDogQ29tcGxpY2F0ZWRQYXNzd29yZDEyMyE0CnBvc3RncmVzcWw6CiAgYXV0aDoKICAgIHVzZXJuYW1lOiBibl9kaXNjb3Vyc2UKaG9zdDogYml0bmFtaS1kaXNjb3Vyc2UubXkKc2VydmljZToKICB0eXBlOiBMb2FkQmFsYW5jZXIKICBwb3J0czoKICAgIGh0dHA6IDgw", + "runtime_parameters": "YXV0aDoKICBlbWFpbDogdXNlckBleGFtcGxlLmNvbQogIHVzZXI6IHVzZXIKICBwYXNzd29yZDogQ29tcGxpY2F0ZWRQYXNzd29yZDEyMyE0CnBvc3RncmVzcWw6CiAgYXV0aDoKICAgIHVzZXJuYW1lOiBibl9kaXNjb3Vyc2UKaG9zdDogYml0bmFtaS1kaXNjb3Vyc2UubXkKc2VydmljZToKICB0eXBlOiBMb2FkQmFsYW5jZXIKICBwb3J0czoKICAgIGh0dHA6IDgwCmRpc2NvdXJzZToKICByZWFkaW5lc3NQcm9iZToKICAgIGluaXRpYWxEZWxheVNlY29uZHM6IDMwMAogIGxpdmVuZXNzUHJvYmU6CiAgICBpbml0aWFsRGVsYXlTZWNvbmRzOiA1MDAKc2lkZWtpcToKICByZWFkaW5lc3NQcm9iZToKICAgIGluaXRpYWxEZWxheVNlY29uZHM6IDkwCg==", "target_platform": { "target_platform_id": "{VIB_ENV_TARGET_PLATFORM}", "size": { diff --git a/.vib/discourse/vib-verify.json b/.vib/discourse/vib-verify.json index 633b5f5b4e..c7bd2d41d2 100644 --- a/.vib/discourse/vib-verify.json +++ b/.vib/discourse/vib-verify.json @@ -22,7 +22,7 @@ "url": "{SHA_ARCHIVE}", "path": "/bitnami/discourse" }, - "runtime_parameters": "YXV0aDoKICBlbWFpbDogdXNlckBleGFtcGxlLmNvbQogIHVzZXI6IHVzZXIKICBwYXNzd29yZDogQ29tcGxpY2F0ZWRQYXNzd29yZDEyMyE0CnBvc3RncmVzcWw6CiAgYXV0aDoKICAgIHVzZXJuYW1lOiBibl9kaXNjb3Vyc2UKaG9zdDogYml0bmFtaS1kaXNjb3Vyc2UubXkKc2VydmljZToKICB0eXBlOiBMb2FkQmFsYW5jZXIKICBwb3J0czoKICAgIGh0dHA6IDgw", + "runtime_parameters": "YXV0aDoKICBlbWFpbDogdXNlckBleGFtcGxlLmNvbQogIHVzZXI6IHVzZXIKICBwYXNzd29yZDogQ29tcGxpY2F0ZWRQYXNzd29yZDEyMyE0CnBvc3RncmVzcWw6CiAgYXV0aDoKICAgIHVzZXJuYW1lOiBibl9kaXNjb3Vyc2UKaG9zdDogYml0bmFtaS1kaXNjb3Vyc2UubXkKc2VydmljZToKICB0eXBlOiBMb2FkQmFsYW5jZXIKICBwb3J0czoKICAgIGh0dHA6IDgwCmRpc2NvdXJzZToKICByZWFkaW5lc3NQcm9iZToKICAgIGluaXRpYWxEZWxheVNlY29uZHM6IDMwMAogIGxpdmVuZXNzUHJvYmU6CiAgICBpbml0aWFsRGVsYXlTZWNvbmRzOiA1MDAKc2lkZWtpcToKICByZWFkaW5lc3NQcm9iZToKICAgIGluaXRpYWxEZWxheVNlY29uZHM6IDkwCg==", "target_platform": { "target_platform_id": "{VIB_ENV_TARGET_PLATFORM}", "size": { diff --git a/bitnami/discourse/Chart.lock b/bitnami/discourse/Chart.lock index bab69da70f..02043ab1ee 100644 --- a/bitnami/discourse/Chart.lock +++ b/bitnami/discourse/Chart.lock @@ -1,12 +1,12 @@ dependencies: - name: redis repository: https://charts.bitnami.com/bitnami - version: 17.4.2 + version: 17.7.1 - name: postgresql repository: https://charts.bitnami.com/bitnami - version: 12.1.9 + version: 12.1.14 - name: common repository: https://charts.bitnami.com/bitnami version: 2.2.2 -digest: sha256:8c70d6d7bca8cac79ce2face6d2e3028e651a145161a7733a566fc40baa6066c -generated: "2023-01-13T09:45:17.903560031Z" +digest: sha256:a0a13242288c8b9160a115737a9377d0f417b6d1c2388b6689634d7723a6a933 +generated: "2023-02-03T17:29:24.95059524Z" diff --git a/bitnami/discourse/Chart.yaml b/bitnami/discourse/Chart.yaml index be81fc7278..523effd860 100644 --- a/bitnami/discourse/Chart.yaml +++ b/bitnami/discourse/Chart.yaml @@ -2,7 +2,7 @@ annotations: category: Forum licenses: Apache-2.0 apiVersion: v2 -appVersion: 2.8.13 +appVersion: 3.0.1 dependencies: - condition: redis.enabled name: redis @@ -35,4 +35,4 @@ sources: - https://github.com/bitnami/containers/tree/main/bitnami/discourse - https://github.com/spinnaker - https://www.discourse.org/ -version: 9.0.9 +version: 10.0.0 diff --git a/bitnami/discourse/README.md b/bitnami/discourse/README.md index 170d89275d..a45c2a0342 100644 --- a/bitnami/discourse/README.md +++ b/bitnami/discourse/README.md @@ -7,7 +7,7 @@ Discourse is an open source discussion platform with built-in moderation and gov [Overview of Discourse®](http://www.discourse.org/) Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement. - + ## TL;DR ```console @@ -82,53 +82,53 @@ The command removes all the Kubernetes components associated with the chart and ### Discourse Common parameters -| Name | Description | Value | -| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | ---------------------- | -| `image.registry` | Discourse image registry | `docker.io` | -| `image.repository` | Discourse image repository | `bitnami/discourse` | -| `image.tag` | Discourse image tag | `2.8.13-debian-11-r11` | -| `image.digest` | Discourse image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | `""` | -| `image.pullPolicy` | Discourse image pull policy | `IfNotPresent` | -| `image.pullSecrets` | Discourse image pull secrets | `[]` | -| `image.debug` | Enable image debug mode | `false` | -| `auth.email` | Discourse admin user email | `user@example.com` | -| `auth.username` | Discourse admin user | `user` | -| `auth.password` | Discourse admin password. WARNING: Minimum length of 10 characters | `""` | -| `auth.existingSecret` | Name of an existing secret to use for Discourse credentials | `""` | -| `host` | Hostname to create application URLs (include the port if =/= 80) | `""` | -| `siteName` | Discourse site name | `My Site!` | -| `smtp.enabled` | Enable/disable SMTP | `false` | -| `smtp.host` | SMTP host name | `""` | -| `smtp.port` | SMTP port number | `""` | -| `smtp.user` | SMTP account user name | `""` | -| `smtp.password` | SMTP account password | `""` | -| `smtp.protocol` | SMTP protocol (Allowed values: tls, ssl) | `""` | -| `smtp.auth` | SMTP authentication method | `""` | -| `smtp.existingSecret` | Name of an existing Kubernetes secret. The secret must have the following key configured: `smtp-password` | `""` | -| `replicaCount` | Number of Discourse & Sidekiq replicas | `1` | -| `podSecurityContext.enabled` | Enabled Discourse pods' Security Context | `false` | -| `podSecurityContext.fsGroup` | Set Discourse pod's Security Context fsGroup | `0` | -| `hostAliases` | Add deployment host aliases | `[]` | -| `podAnnotations` | Additional pod annotations | `{}` | -| `podLabels` | Additional pod labels | `{}` | -| `podAffinityPreset` | Pod affinity preset. Allowed values: soft, hard | `""` | -| `podAntiAffinityPreset` | Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `soft` | -| `nodeAffinityPreset.type` | Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` | -| `nodeAffinityPreset.key` | Node label key to match Ignored if `affinity` is set. | `""` | -| `nodeAffinityPreset.values` | Node label values to match. Ignored if `affinity` is set. | `[]` | -| `affinity` | Affinity for pod assignment | `{}` | -| `nodeSelector` | Node labels for pod assignment. | `{}` | -| `tolerations` | Tolerations for pod assignment. | `[]` | -| `topologySpreadConstraints` | Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template | `[]` | -| `priorityClassName` | Priority Class Name | `""` | -| `schedulerName` | Use an alternate scheduler, e.g. "stork". | `""` | -| `terminationGracePeriodSeconds` | Seconds Discourse pod needs to terminate gracefully | `""` | -| `updateStrategy.type` | Discourse deployment strategy type | `RollingUpdate` | -| `updateStrategy.rollingUpdate` | Discourse deployment rolling update configuration parameters | `{}` | -| `sidecars` | Add additional sidecar containers to the Discourse pods | `[]` | -| `initContainers` | Add additional init containers to the Discourse pods | `[]` | -| `extraVolumeMounts` | Optionally specify extra list of additional volumeMounts for the Discourse pods | `[]` | -| `extraVolumes` | Optionally specify extra list of additional volumes for the Discourse pods | `[]` | +| Name | Description | Value | +| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | -------------------- | +| `image.registry` | Discourse image registry | `docker.io` | +| `image.repository` | Discourse image repository | `bitnami/discourse` | +| `image.tag` | Discourse image tag | `3.0.1-debian-11-r0` | +| `image.digest` | Discourse image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | `""` | +| `image.pullPolicy` | Discourse image pull policy | `IfNotPresent` | +| `image.pullSecrets` | Discourse image pull secrets | `[]` | +| `image.debug` | Enable image debug mode | `false` | +| `auth.email` | Discourse admin user email | `user@example.com` | +| `auth.username` | Discourse admin user | `user` | +| `auth.password` | Discourse admin password. WARNING: Minimum length of 10 characters | `""` | +| `auth.existingSecret` | Name of an existing secret to use for Discourse credentials | `""` | +| `host` | Hostname to create application URLs (include the port if =/= 80) | `""` | +| `siteName` | Discourse site name | `My Site!` | +| `smtp.enabled` | Enable/disable SMTP | `false` | +| `smtp.host` | SMTP host name | `""` | +| `smtp.port` | SMTP port number | `""` | +| `smtp.user` | SMTP account user name | `""` | +| `smtp.password` | SMTP account password | `""` | +| `smtp.protocol` | SMTP protocol (Allowed values: tls, ssl) | `""` | +| `smtp.auth` | SMTP authentication method | `""` | +| `smtp.existingSecret` | Name of an existing Kubernetes secret. The secret must have the following key configured: `smtp-password` | `""` | +| `replicaCount` | Number of Discourse & Sidekiq replicas | `1` | +| `podSecurityContext.enabled` | Enabled Discourse pods' Security Context | `false` | +| `podSecurityContext.fsGroup` | Set Discourse pod's Security Context fsGroup | `0` | +| `hostAliases` | Add deployment host aliases | `[]` | +| `podAnnotations` | Additional pod annotations | `{}` | +| `podLabels` | Additional pod labels | `{}` | +| `podAffinityPreset` | Pod affinity preset. Allowed values: soft, hard | `""` | +| `podAntiAffinityPreset` | Pod anti-affinity preset. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `soft` | +| `nodeAffinityPreset.type` | Node affinity preset type. Ignored if `affinity` is set. Allowed values: `soft` or `hard` | `""` | +| `nodeAffinityPreset.key` | Node label key to match Ignored if `affinity` is set. | `""` | +| `nodeAffinityPreset.values` | Node label values to match. Ignored if `affinity` is set. | `[]` | +| `affinity` | Affinity for pod assignment | `{}` | +| `nodeSelector` | Node labels for pod assignment. | `{}` | +| `tolerations` | Tolerations for pod assignment. | `[]` | +| `topologySpreadConstraints` | Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template | `[]` | +| `priorityClassName` | Priority Class Name | `""` | +| `schedulerName` | Use an alternate scheduler, e.g. "stork". | `""` | +| `terminationGracePeriodSeconds` | Seconds Discourse pod needs to terminate gracefully | `""` | +| `updateStrategy.type` | Discourse deployment strategy type | `RollingUpdate` | +| `updateStrategy.rollingUpdate` | Discourse deployment rolling update configuration parameters | `{}` | +| `sidecars` | Add additional sidecar containers to the Discourse pods | `[]` | +| `initContainers` | Add additional init containers to the Discourse pods | `[]` | +| `extraVolumeMounts` | Optionally specify extra list of additional volumeMounts for the Discourse pods | `[]` | +| `extraVolumes` | Optionally specify extra list of additional volumes for the Discourse pods | `[]` | ### Discourse container parameters @@ -149,7 +149,7 @@ The command removes all the Kubernetes components associated with the chart and | `discourse.livenessProbe.failureThreshold` | Failure threshold for livenessProbe | `6` | | `discourse.livenessProbe.successThreshold` | Success threshold for livenessProbe | `1` | | `discourse.readinessProbe.enabled` | Enable readinessProbe on Discourse containers | `true` | -| `discourse.readinessProbe.initialDelaySeconds` | Initial delay seconds for readinessProbe | `30` | +| `discourse.readinessProbe.initialDelaySeconds` | Initial delay seconds for readinessProbe | `180` | | `discourse.readinessProbe.periodSeconds` | Period seconds for readinessProbe | `10` | | `discourse.readinessProbe.timeoutSeconds` | Timeout seconds for readinessProbe | `5` | | `discourse.readinessProbe.failureThreshold` | Failure threshold for readinessProbe | `6` | @@ -257,7 +257,7 @@ The command removes all the Kubernetes components associated with the chart and | `volumePermissions.enabled` | Enable init container that changes the owner and group of the persistent volume | `false` | | `volumePermissions.image.registry` | Init container volume-permissions image registry | `docker.io` | | `volumePermissions.image.repository` | Init container volume-permissions image repository | `bitnami/bitnami-shell` | -| `volumePermissions.image.tag` | Init container volume-permissions image tag (immutable tags are recommended) | `11-debian-11-r71` | +| `volumePermissions.image.tag` | Init container volume-permissions image tag (immutable tags are recommended) | `11-debian-11-r79` | | `volumePermissions.image.digest` | Init container volume-permissions image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | `""` | | `volumePermissions.image.pullPolicy` | Init container volume-permissions image pull policy | `IfNotPresent` | | `volumePermissions.image.pullSecrets` | Init container volume-permissions image pull secrets | `[]` | diff --git a/bitnami/discourse/values.yaml b/bitnami/discourse/values.yaml index d81eb89fa1..fb6679b537 100644 --- a/bitnami/discourse/values.yaml +++ b/bitnami/discourse/values.yaml @@ -69,7 +69,7 @@ diagnosticMode: image: registry: docker.io repository: bitnami/discourse - tag: 2.8.13-debian-11-r11 + tag: 3.0.1-debian-11-r0 digest: "" ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' @@ -298,7 +298,7 @@ discourse: ## readinessProbe: enabled: true - initialDelaySeconds: 30 + initialDelaySeconds: 180 periodSeconds: 10 timeoutSeconds: 5 failureThreshold: 6 @@ -666,7 +666,7 @@ volumePermissions: image: registry: docker.io repository: bitnami/bitnami-shell - tag: 11-debian-11-r71 + tag: 11-debian-11-r79 digest: "" pullPolicy: IfNotPresent ## Optionally specify an array of imagePullSecrets.