Skip to content

Commit ffbc71d

Browse files
authored
RHIDP-8634-3 - [feedback] Improve the documentation to help developers convert plugins to dynamic plugins (#1534)
* RHIDP-8634-3 - [feedback] Improve the documentation to help developers convert plugins to dynamic plugins * RHIDP-8634-3 - [feedback] Improve the documentation to help developers convert plugins to dynamic plugins * Update modules/dynamic-plugins/proc-custom-plugin-add-to-rhdh.adoc * Update modules/dynamic-plugins/proc-custom-plugin-add-to-rhdh.adoc * Update proc-custom-plugin-add-to-rhdh.adoc
1 parent f484172 commit ffbc71d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

modules/dynamic-plugins/proc-custom-plugin-add-to-rhdh.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@ plugins:
1818

1919
[NOTE]
2020
====
21-
Ensure that your container images are publicly accessible, or that you have configured a pull secret in your environment. A pull secret provides {product} with credentials to authenticate pulling your plugin container images from a container registry.
22-
====
21+
Ensure that your container images are publicly accessible, or that you have configured a pull secret in your environment. A pull secret provides {product} with credentials to authenticate pulling your plugin container images from a container registry.
22+
====
23+
24+
//For more information about using image pull secrets on {platform-generic}, see https://docs.okd.io/latest/openshift_images/managing_images/using-image-pull-secrets.html

modules/dynamic-plugins/proc-custom-plugin-conversion.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ yarn build:all
5353
+
5454
[NOTE]
5555
====
56-
At this point, with {product-custom-resource-type}, you need to publish the built plugins to a NPM or NPM-compatible registry. However, as you are building this plugin to support it being loaded dynamically by {product}, you do not need to publish the plugin to a NPM registry. Instead, you can package the plugin for dynamic loading and publish it as a container image on `Quay.io` or your preferred container registry.
56+
After this step, with upstream {backstage}, you publish the built plugins to a NPM or NPM-compatible registry. In this example, as you are building this plugin to support it being loaded dynamically by {product}, you can skip the `npm publish` step that publishes the plugin to a NPM registry. Instead, you can package the plugin for dynamic loading and publish it as a container image on `Quay.io` or your preferred container registry.
5757
====
5858

5959
. Prepare the *Entity Feedback* frontend plugin by using the {product} CLI. The following command uses the plugin files in the `dist` folder that was generated by the `yarn build:all` command, and creates a new `dist-scalprum` folder that contains the necessary configuration and source files to enable dynamic loading:

0 commit comments

Comments
 (0)