You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For each Chart updated, version bumped in the corresponding Chart.yaml according to Semantic Versioning.
For each Chart updated, variables are documented in the values.yaml and added to the corresponding README.md. The pre-commit utility can be used to generate the necessary content. Use pre-commit run -a to apply changes. The pre-commit Workflow will do this automatically for you if needed.
JSON Schema template updated and re-generated the raw schema via the pre-commit hook.
Tests pass using the Chart Testing tool and the ct lint command.
Verify that setting imagePullPolicy to an empty string in the generated schema is acceptable for schema validation and consumer tooling, and that upstream references tolerate empty strings rather than omitting the field entirely.
"image": "{{ include \"backstage.image\" . }}",
"imagePullPolicy": "",
"name": "install-dynamic-plugins",
Confirm that using an empty string for imagePullPolicy in test manifests does not conflict with Helm/Kubernetes validation and still results in the field being omitted in rendered manifests as intended.
The PR sets imagePullPolicy to an empty string in multiple places, but the values schema defaults currently expect explicit values. Ensure the values and schema stay aligned to avoid Helm validation or rendering inconsistencies. (Ref 1, Ref 2)
imagePullPolicy: ""command: ["/bin/sh", "-c"]
Reference reasoning: The existing chart configuration and values emphasize explicit, OpenShift-compatible defaults and alignment with upstream settings. Introducing empty strings for imagePullPolicy without updating associated defaults/schemas can diverge from documented expectations and previously explicit configuration patterns.
Why: The suggestion correctly identifies that an empty string is an invalid value for imagePullPolicy, and this change introduced in the PR would cause Kubernetes resource creation to fail.
High
Fix invalid image pull policy
Set pullPolicy to a valid value like IfNotPresent, as an empty string will render an invalid imagePullPolicy in Kubernetes manifests and cause deployment failures.
Why: The suggestion correctly identifies that setting pullPolicy to an empty string in values.yaml will result in an invalid Kubernetes manifest, causing deployment failures.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of the change
Updating the pullPolicy to match the default configuration to the upstream Backstage chart.
Which issue(s) does this PR fix or relate to
RHDHBUGS-2236
Checklist
Chart.yamlaccording to Semantic Versioning.values.yamland added to the corresponding README.md. The pre-commit utility can be used to generate the necessary content. Usepre-commit run -ato apply changes. The pre-commit Workflow will do this automatically for you if needed.pre-commithook.ct lintcommand.