이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 13. Customizing the RHDH Metadata card on the Settings page
The Settings page in Red Hat Developer Hub contains a RHDH Metadata card. By default, the RHDH Metadata card shows the RHDH Version and Backstage Version of your Red Hat Developer Hub instance. When you click the Show more icon, the card expands to also show Upstream, Midstream, and Build Time information.
You can override the default to show custom build information about your Red Hat Developer Hub instance in the card. You can customize the card title as well as the card contents.
Procedure
To customize the RHDH Metadata card, complete the following step:
In your app-config.yaml file, configure the
buildinfofield. For example:buildInfo: title: _<metadata_card_title>_ card: TechDocs builder: '_<techdocs_builder>_' Authentication provider: '_<authentication_provider>_' RBAC: disabled full: truewhere
- <metadata_card_title>
- Specifies the title that you want to display on the customized card.
- <techdocs_builder>
-
Specifies whether to generate and publish the docs or to only fetch the docs when using the default build strategy. Possible values are
localorexternal. If you want to generate and publish the docs, set thetechdocs.builderfield tolocalin your app-config.yaml file. If you only want to fetch the docs without generating and publishing them, set thetechdocs.builderfield toexternal. - <authentication_provider>
-
Specifies the authentication provider that you want to use. Example values are
GitHuborGitLab. full-
Specifies what information is shown on the customized card. Possible values are
trueorfalse. If set totrue, only the information specified in this configuration is shown on the card. If set tofalse, the specified information is shown on the card along with the build versions. The default value istrue.
Result
The Settings page displays a card with a custom title and custom build information about your Red Hat Developer Hub instance.