Chapter 3. Enable and configure the JFrog plugin
Enable and configure the JFrog Artifactory plugin to display container images from your repository in Red Hat Developer Hub.
3.1. Enable the JFrog Artifactory plugin Copy linkLink copied to clipboard!
To enable the JFrog Artifactory plugin, set the disabled property to false.
Procedure
Set the value to
falseas follows:global: dynamic: includes: - dynamic-plugins.default.yaml plugins: - package: oci://ghcr.io/redhat-developer/rhdh-plugin-export-overlays/backstage-community-plugin-jfrog-artifactory:<tag> disabled: falseThe
<tag>variable is your RHDH application's version of Backstage and the plugin version, in the format:bs_<backstage-version>__<plugin-version>(note the double underscore delimiter).To find the correct image tag for
<tag>:- Look in the RHDH release notes preface for your Backstage version.
-
Locate the plugin version for paths starting with
oci://ghcr.iowithin one of the tables in the Dynamic Plugins Reference guide.
For example, because RHDH 1.9 is based on Backstage 1.45.3, the tag will have the format bs_1.45.3__<plugin-version>.
To ensure environment stability, use a SHA256 digest instead of a version tag. See Determining SHA256 Digests.
3.2. Configure the JFrog Artifactory plugin Copy linkLink copied to clipboard!
Configure proxy settings and annotations to display container images stored in your JFrog Artifactory repository.
Procedure
Set the proxy to the required JFrog Artifactory server in the app-config.yaml file as follows:
proxy: endpoints: '/jfrog-artifactory/api': target: http://<hostname>:8082 # or https://<customer>.jfrog.io headers: # Authorization: 'Bearer <YOUR TOKEN>' # Change to "false" in case of using a self-hosted Artifactory instance with a self-signed certificate secure: trueAdd the following annotation to the entity’s
catalog-info.yamlfile to enable the JFrog Artifactory plugin features in RHDH components:metadata: annotations: 'jfrog-artifactory/image-name': '<IMAGE-NAME>'