Description of problem:
The 1.8 docs (vpn required) provides some example snippets that show how the title/subtitle can use variable substitution to insert the firstname or display name of a user entity. This syntax conflicts with Helm because it gets interpreted as template variables and fails with the following error on deployment:
(https://docs.redhat.com/en/documentation/red_hat_developer_hub/)\\n*\n [Documentation](https://docs.redhat.com/en/documentation/red_hat_developer_hub/)\\n*\n [Backstage Community Plugins](https://github.com/backstage/community-plugins)\\n*\n [RHDH Plugins](https://github.com/redhat-developer/rhdh-plugins)\\n*\n [RHDH Showcase](https://github.com/redhat-developer/rhdh) \\n\"\n title: Important company links\n importName: Markdown\n mountPoint: home.page/cards\n- disabled: false\n package: ./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-global-floating-action-button\n- disabled: false\n package: ./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-global-header\n- disabled: false\n package: ./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-quickstart": template: gotpl:76: function "firstName" not defined
See Slack thread for further details
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Deploy using a Helm chart
- Follow the doc instructions and add the pluginConfig for the Dynamic Home Page
dynamicPlugins:
frontend:
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
dynamicRoutes:
- path: /
importName: DynamicCustomizableHomePage
config:
props:
title: 'Howdy {{firstName}} or {{displayName}}'
Actual results:
Deployment fails, see error above
Expected results:
RHDH is successfully deployed and title displays the firstName and displayName
If this is a limitation, we should get this documented as a Known Issue
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
1.8