Skip to content

Commit 0ed9932

Browse files
authored
Merge pull request #60624 from opayne1/OCPBUGS-13156-3
OCPBUGS#13156: Updates 4.12+ with additional feedback received
2 parents 267348b + 1dfb94e commit 0ed9932

18 files changed

+56
-38
lines changed

_topic_maps/_topic_map.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -748,27 +748,27 @@ Topics:
748748
File: customizing-the-web-console
749749
Distros: openshift-enterprise,openshift-origin
750750
- Name: Dynamic plugins
751-
Dir: dynamic-plug-in
751+
Dir: dynamic-plugin
752752
Distros: openshift-enterprise,openshift-origin
753753
Topics:
754754
- Name: Overview of dynamic plugins
755-
File: dynamic-plug-in
755+
File: overview-dynamic-plugin
756756
- Name: Getting started with dynamic plugins
757-
File: dynamic-plug-ins-get-started
757+
File: dynamic-plugins-get-started
758758
- Name: Deploy your plugin on a cluster
759-
File: deploy-plug-in-cluster
759+
File: deploy-plugin-cluster
760760
- Name: Dynamic plugin example
761-
File: dynamic-plug-in-example
761+
File: dynamic-plugin-example
762762
- Name: Dynamic plugin reference
763-
File: dynamic-plug-ins-reference
763+
File: dynamic-plugins-reference
764764
- Name: Web terminal
765765
Dir: web_terminal
766766
Distros: openshift-enterprise,openshift-online
767767
Topics:
768768
- Name: Installing the web terminal
769769
File: installing-web-terminal
770770
- Name: Configuring the web terminal
771-
File: configuring-web-terminal
771+
File: configuring-web-terminal
772772
- Name: Using the web terminal
773773
File: odc-using-web-terminal
774774
- Name: Troubleshooting the web terminal

modules/adding-tab-pods-page.adoc

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * web_console/dynamic-plugin-example.adoc
3+
// * web_console/dynamic-plugin/dynamic-plugin-example.adoc
44

55
:_content-type: PROCEDURE
66
[id="adding-tab-to-pods-page_{context}"]
@@ -22,15 +22,16 @@ The {product-title} web console runs in a container connected to the cluster you
2222
Custom plugin code is not supported by Red Hat. Only link:https://access.redhat.com/solutions/5893251[Cooperative community support] is available for your plugin.
2323
====
2424

25-
. Select the *Use this template* dropdown button and select *_Create new repository_* from the dropdown list to create a GitHub repository.
25+
. Create a GitHub repository for the template by clicking *Use this template* -> *_Create new repository_*.
2626

27-
. Re-name the new repository with the name of your plugin.
27+
. Rename the new repository with the name of your plugin.
2828

29-
. Clone your copied repository to your local machine so you can edit the code.
29+
. Clone the new repository to your local machine so you can edit the code.
3030

31-
. Edit the plugin metadata in the `consolePlugin` declaration of `package.json`.
31+
. Edit the `package.json` file, adding your plugin's metadata to the `consolePlugin` declaration. For example:
3232
+
3333
[source,json]
34+
3435
----
3536
"consolePlugin": {
3637
"name": "my-plugin", <1>
@@ -97,5 +98,18 @@ export default function ExampleTab() {
9798
}
9899
----
99100

101+
. Install a Helm chart with the name of the plugin as the Helm release name into a new namespace or an existing namespace as specified by the `-n` command-line option to deploy your plugin on a cluster. Provide the location of the image within the `plugin.image` parameter by using the following command:
102+
103+
+
104+
[source,terminal]
105+
----
106+
$ helm upgrade -i my-plugin charts openshift-console-plugin -n my-plugin-namespace --create-namespace --set plugin image=my-plugin-image-location
107+
----
108+
+
109+
[NOTE]
110+
====
111+
For more information on deploying your plugin on a cluster, see "Deploy your plugin on a cluster".
112+
====
113+
100114
.Verification
101115
* Visit a *Pod* page to view the added tab.

modules/build-image-docker.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * web_console/deploy-plug-in-cluster.adoc
3+
// * web_console/dynamic-plugin/deploy-plugin-cluster.adoc
44

55
:_content-type: PROCEDURE
66
[id="build-image-with-docker_{context}"]

modules/deployment-plug-in-cluster.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * web_console/deploy-plug-in-cluster.adoc
3+
// * web_console/dynamic-plugin/deploy-plugin-cluster.adoc
44

55
:_content-type: PROCEDURE
66
[id="deploy-on-cluster_{context}"]
@@ -27,7 +27,7 @@ Where:
2727
--
2828

2929
. Optional: You can specify any additional parameters by using the set of supported parameters in the `charts/openshift-console-plugin/values.yaml` file.
30-
30+
+
3131
[source,yaml]
3232
----
3333
plugin:
@@ -86,7 +86,7 @@ plugin:
8686
----
8787

8888
.Verification
89-
You can see the list of the enabled plugins on the *Overview* page or by navigating from *Administration* -> *Cluster Settings* -> *Configuration* -> *Console* `operator.openshift.io` -> *Console plugins*.
89+
* View the list of enabled plugins by navigating from *Administration* -> *Cluster Settings* -> *Configuration* -> *Console* `operator.openshift.io` -> *Console plugins* or by visiting the *Overview* page.
9090
9191
9292
[NOTE]

modules/disabling-plug-in-browser.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Module included in the following assemblies:
22
//
3-
// * web_console/deploy-plug-in-cluster.adoc
3+
// * web_console/dynamic-plugin/deploy-plugin-cluster.adoc
44

55
:_content-type: PROCEDURE
6-
[id="disabling-your-plug-in-browser_{context}"]
6+
[id="disabling-your-plugin-browser_{context}"]
77
= Disabling your plugin in the browser
88

99
Console users can use the `disable-plugins` query parameter to disable specific or all dynamic plugins that would normally get loaded at run-time.

modules/dynamic-plug-in-development.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Module included in the following assemblies:
22
//
3-
// * web_console/dynamic-plug-ins-get-started.adoc
3+
// * web_console/dynamic-plugin/dynamic-plugins-get-started.adoc
44

55
:_content-type: PROCEDURE
66
[id="dynamic-plugin-development_{context}"]

modules/dynamic-plug-in-api.adoc renamed to modules/dynamic-plugin-api.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
// Module included in the following assemblies:
22
//
3-
// * web_console/dynamic-plug-in/dynamic-plug-ins-reference.adoc
3+
// * web_console/dynamic-plugin/dynamic-plugins-reference.adoc
44

55
:power-bi-url: https://microsoft.github.io/PowerBI-JavaScript/interfaces/_node_modules_typedoc_node_modules_typescript_lib_lib_dom_d_.requestinit.html
66
//needed to add an attribute for the url because escaping the underscore in the link would not work and the build was failing.
77

88
:_content-type: REFERENCE
9-
[id="dynamic-plug-in-api_{context}"]
9+
[id="dynamic-plugin-api_{context}"]
1010
= {product-title} console API
11-
:source-highlighter: rouge
1211

1312
[discrete]
1413
== `useActivePerspective`

modules/dynamic-plug-in-sdk-extensions.adoc renamed to modules/dynamic-plugin-sdk-extensions.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Module is included in the following assemblies:
22
//
3-
// * web_console/dynamic-plug-in/dynamic-plug-ins-reference.adoc
3+
// * web_console/dynamic-plugin/dynamic-plugins-reference.adoc
44

55
:_content-type: CONCEPT
6-
[id="dynamic-plug-in-sdk-extensions_{context}"]
6+
[id="dynamic-plugin-sdk-extensions_{context}"]
77
= Dynamic plugin extension types
88

99
[discrete]

modules/troubleshooting-dynamic-plug-in.adoc renamed to modules/troubleshooting-dynamic-plugin.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Module included in the following assemblies:
22
//
3-
// * web_console/dynamic-plug-in/dynamic-plug-ins-reference.adoc
3+
// * web_console/dynamic-plugin/dynamic-plugins-reference.adoc
44

55
:_content-type: REFERENCE
6-
[id="troubleshooting-dynamic-plug-in_{context}"]
6+
[id="troubleshooting-dynamic-plugin_{context}"]
77
= Troubleshooting your dynamic plugin
88

99
Refer to this list of troubleshooting tips if you run into issues loading your plugin.

0 commit comments

Comments
 (0)