Allow appConfig to be provided as a string #115
Merged
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 Bug
Providing the value for
backstage.appConfig
as a string does technically work, but is not allowed by the schema.Description of the change
Allow key
backstage.appConfig
to be of typeobject
orstring
.Existing or Associated Issue(s)
None
Additional Information
The template
app-config-configmap.yaml
uses thecommon.tplvalues.render
helper function from the bitnami common chart.charts/charts/backstage/templates/app-config-configmap.yaml
Lines 7 to 8 in b1d86d3
That helper function supports both,
string
-type andobject
-type values.https://github.com/bitnami/charts/blob/35bc6b1d5d87dfc3875ed09a45bffd2bddc9ee6d/bitnami/common/templates/_tplvalues.tpl#L2-L13
Checklist
Chart.yaml
according to semver.values.yaml
and added to the README.md. The helm-docs utility can be used to generate the necessary content. Usehelm-docs --dry-run
to preview the content.ct lint
command.