Skip to content
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

[pgadmin4] Add possibility to use template-strings inside values.yaml #230

Closed
pmoscode opened this issue Nov 21, 2023 · 0 comments · Fixed by #232
Closed

[pgadmin4] Add possibility to use template-strings inside values.yaml #230

pmoscode opened this issue Nov 21, 2023 · 0 comments · Fixed by #232

Comments

@pmoscode
Copy link
Contributor

Is your feature request related to a problem? Please describe.
When pgadmin4 Helm chart is a subchart in another chart, then there might be a extra ConfigMap / Secret which is created in the parent / a silbings chart.
For that case the name of the ConfigMap / Secret might be dynamically generated (ex. {{ .Release.Name }}-pgadmin-server-definitions).
In this case I would like to use this templated name in the values.yaml for "extraConfigmapMounts.[].configMap" or "extraSecretMounts.[].secret".

Describe the solution you'd like
Because this is a ordinary string ("extraConfigmapMounts.[].configMap" and "extraSecretMounts.[].secret"), the Helm internal "tpl" function can be used to resolve the value.

Describe alternatives you've considered
I don't know any simple alternatives, when there are dynamic values in the "values.yaml" file.

Additional context
none

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant