From 50f14a2e2d57a94d66706e9de89d5be9787d9310 Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Mon, 26 Feb 2024 22:10:31 +0100 Subject: [PATCH] fix: increase default size of dynamic-plugins-root volume (#5) * fix: increase default size of dynamic-plugins-root volume Signed-off-by: Tomas Kral * Update charts/backstage/Chart.yaml * Update charts/backstage/README.md * Update charts/backstage/README.md --------- Signed-off-by: Tomas Kral Co-authored-by: Nick Boldt --- charts/backstage/Chart.yaml | 2 +- charts/backstage/README.md | 6 +++--- charts/backstage/values.schema.json | 2 +- charts/backstage/values.yaml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/charts/backstage/Chart.yaml b/charts/backstage/Chart.yaml index 423adf2e..7a7059d8 100644 --- a/charts/backstage/Chart.yaml +++ b/charts/backstage/Chart.yaml @@ -41,4 +41,4 @@ sources: # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.13.4 +version: 2.13.5 diff --git a/charts/backstage/README.md b/charts/backstage/README.md index 5890c4c8..1d8d5ff2 100644 --- a/charts/backstage/README.md +++ b/charts/backstage/README.md @@ -2,7 +2,7 @@ # RHDH Backstage Helm Chart for OpenShift [![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/rhdh-chart&style=flat-square)](https://artifacthub.io/packages/search?repo=rhdh-chart) -![Version: 2.13.4](https://img.shields.io/badge/Version-2.13.4-informational?style=flat-square) +![Version: 2.13.5](https://img.shields.io/badge/Version-2.13.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) A Helm chart for deploying RHDH (a Backstage application) @@ -148,8 +148,8 @@ Kubernetes: `>= 1.19.0-0` | route.tls.termination | Specify TLS termination. | string | `"edge"` | | route.wildcardPolicy | Wildcard policy if any for the route. Currently only 'Subdomain' or 'None' is allowed. | string | `"None"` | | upstream | Upstream Backstage [chart configuration](https://github.com/backstage/charts/blob/main/charts/backstage/values.yaml) | object | Use Openshift compatible settings | -| upstream.backstage.extraVolumes[0] | Ephemeral volume that will contain the dynamic plugins installed by the initContainer below at start. | object | `{"ephemeral":{"volumeClaimTemplate":{"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}}}}},"name":"dynamic-plugins-root"}` | -| upstream.backstage.extraVolumes[0].ephemeral.volumeClaimTemplate.spec.resources.requests.storage | Size of the volume that will contain the dynamic plugins. It should be large enough to contain all the plugins. | string | `"1Gi"` | +| upstream.backstage.extraVolumes[0] | Ephemeral volume that will contain the dynamic plugins installed by the initContainer below at start. | object | `{"ephemeral":{"volumeClaimTemplate":{"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"2Gi"}}}}},"name":"dynamic-plugins-root"}` | +| upstream.backstage.extraVolumes[0].ephemeral.volumeClaimTemplate.spec.resources.requests.storage | Size of the volume that will contain the dynamic plugins. It should be large enough to contain all the plugins. | string | `"2Gi"` | | upstream.backstage.initContainers[0].image | Image used by the initContainer to install dynamic plugins into the `dynamic-plugins-root` volume mount. It could be replaced by a custom image based on this one. | string | `quay.io/janus-idp/backstage-showcase:latest` | ## Opinionated Backstage deployment diff --git a/charts/backstage/values.schema.json b/charts/backstage/values.schema.json index 9bf88e5b..09410934 100644 --- a/charts/backstage/values.schema.json +++ b/charts/backstage/values.schema.json @@ -1793,7 +1793,7 @@ ], "resources": { "requests": { - "storage": "1Gi" + "storage": "2Gi" } } } diff --git a/charts/backstage/values.yaml b/charts/backstage/values.yaml index 54c6e259..b83e6a14 100644 --- a/charts/backstage/values.yaml +++ b/charts/backstage/values.yaml @@ -113,7 +113,7 @@ upstream: resources: requests: # -- Size of the volume that will contain the dynamic plugins. It should be large enough to contain all the plugins. - storage: 1Gi + storage: 2Gi # Volume that will expose the `dynamic-plugins.yaml` file from the `dynamic-plugins` config map. # The `dynamic-plugins` config map is created by the helm chart from the content of the `global.dynamic` field.