-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Disable dynamic plugin cache PVC by default #79
Fix: Disable dynamic plugin cache PVC by default #79
Conversation
a33ac3f
to
d37799f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, could you update the CI values file accordingly, to reflect how people would specify a different storage class name for this ephemeral PVC?
charts/backstage/ci/with-custom-dynamic-pvc-claim-spec-values.yaml
Outdated
Show resolved
Hide resolved
8846abf
to
33145e8
Compare
charts/backstage/ci/with-custom-dynamic-pvc-claim-spec-values.yaml
Outdated
Show resolved
Hide resolved
charts/backstage/ci/with-custom-dynamic-pvc-claim-spec-values.yaml
Outdated
Show resolved
Hide resolved
65cfa88
to
de7d416
Compare
de7d416
to
4096934
Compare
|
This PR was unintentionally closed after a forced reset (git reset --hard origin/main). Because of that, GitHub does not allow reopening it. Creating a new PR with the same changes...#94 |
Description of the Change
This PR removes the
dynamicPlugins
section entirely and makes the dynamic plugin cache fully ephemeral by default in the RHDH Helm Chart. Instead of handling PVC creation within the chart, users can now configure an ephemeral volume claim directly underextraVolumes
.Additionally, the chart version has been updated to 3.0.0 as this introduces a breaking change compared to the previous version. This does not impact the downstream chart version, which remains at 1.5.0.
Changes
dynamicPlugins.cache.volumeClaimSpec
fromvalues.yaml
, ensuring all dynamic plugin storage is ephemeral.extraVolumes
to define ephemeral volume claims directly, making storage configuration more explicit.ci/with-custom-dynamic-pvc-claim-spec-values.yaml
) to reflect how users can specify storage options for the ephemeral volume claim, including storage class configurations.charts/backstage/Chart.yaml
version to3.0.0
, marking this as a breaking change.How to Test
helm upgrade --install rhdh-backstage charts/backstage --namespace rhdh oc get pvc -n rhdh # No PVC should be present
Existing or Associated Issue(s)
https://issues.redhat.com/browse/RHIDP-5569
Checklist
Chart.yaml
according to semver.values.yaml
and added to the README.md. The pre-commit utility can be used to generate the necessary content. Usepre-commit run -a
to apply changes.pre-commit
hook.ct lint
command.