Skip to content

Commit 4b2b1fa

Browse files
author
GitHub Actions
committed
Modularize modules/dynamic-plugins/proc-topology-configur
1 parent a78fb1a commit 4b2b1fa

8 files changed

+42
-35
lines changed

assemblies/dynamic-plugins/assembly-configuring-rhdh-plugins.adoc

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,7 @@ include::../../artifacts/rhdh-plugins-reference/nexus-repository-manager/nexus-r
2020
include::../../artifacts/rhdh-plugins-reference/tekton/tekton-plugin-admin.adoc[leveloffset=+1]
2121

2222
// Topology
23-
== Installing the Topology plugin
24-
include::../modules/dynamic-plugins/proc-topology-install.adoc[leveloffset=+2]
25-
26-
include::../assembly-topology-plugin-configure.adoc[leveloffset=+1]
27-
28-
include::../assembly-managing-labels-annotations-topology.adoc[leveloffset=+1]
29-
30-
include::../assembly-bulk-importing-from-github.adoc[leveloffset=+1]
31-
32-
include::../assembly-using-servicenow.adoc[leveloffset=+1]
33-
34-
include::../assembly-using-kubernetes-custom-actions.adoc[leveloffset=+1]
23+
include::../dynamic-plugins/assembly-install-topology-plugin.adoc[leveloffset=+1]
3524

3625
// Overriding Core Backend Service Configuration
3726
include::../modules/dynamic-plugins/con-overriding-core-backend-services.adoc[leveloffset=+1]
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[id="install-topology-plugin_{context}"]
2+
= Installing the Topology plugin
3+
4+
include::../modules/dynamic-plugins/proc-topology-install.adoc[leveloffset=+2]
5+
6+
include::../assembly-topology-plugin-configure.adoc[leveloffset=+1]
7+
8+
include::../assembly-managing-labels-annotations-topology.adoc[leveloffset=+1]
9+
10+
include::../assembly-bulk-importing-from-github.adoc[leveloffset=+1]
11+
12+
include::../assembly-using-servicenow.adoc[leveloffset=+1]
13+
14+
include::../assembly-using-kubernetes-custom-actions.adoc[leveloffset=+1]

modules/dynamic-plugins/proc-namespace-annotation.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22

33
= Namespace annotation
44

5-
To identify the Kubernetes resources using the defined namespace, add the `backstage.io/kubernetes-namespace` annotation:
6-
5+
.Procedure
6+
* To identify the Kubernetes resources using the defined namespace, add the `backstage.io/kubernetes-namespace` annotation:
7+
+
78
[source,yaml]
89
----
910
annotations:
1011
backstage.io/kubernetes-namespace: <RESOURCE_NS>
1112
----
12-
13+
+
1314
The Red Hat OpenShift Dev Spaces instance is not accessible using the source code editor if the `backstage.io/kubernetes-namespace` annotation is added to the `catalog-info.yaml` file.
14-
15+
+
1516
To retrieve the instance URL, you require the CheCluster custom resource (CR). As the CheCluster CR is created in the openshift-devspaces namespace, the instance URL is not retrieved if the namespace annotation value is not openshift-devspaces.

modules/dynamic-plugins/proc-node-connector.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
= Node connector
44

5+
.Procedure
56
To display the workload resources such as deployments or pods with a visual connector, add the following annotation:
6-
7+
+
78
[source,yaml]
89
----
910
annotations:

modules/dynamic-plugins/proc-viewing-openshift-routes.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[id="proc-viewing-openshift-routes_{context}"]
22
= Viewing OpenShift routes
33

4-
To view OpenShift routes, you must grant read access to the routes resource in the Cluster Role:
5-
4+
.Procedure
5+
. To view OpenShift routes, grant read access to the routes resource in the Cluster Role:
6+
+
67
[source,yaml]
78
----
89
apiVersion: rbac.authorization.k8s.io/v1
@@ -19,9 +20,8 @@ To view OpenShift routes, you must grant read access to the routes resource in t
1920
- get
2021
- list
2122
----
22-
23-
You must also add the following in `kubernetes.customResources` property in your `{my-app-config-file}` file:
24-
23+
. Also add the following in `kubernetes.customResources` property in your `{my-app-config-file}` file:
24+
+
2525
[source,yaml]
2626
----
2727
kubernetes:

modules/dynamic-plugins/proc-viewing-pod-logs.adoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[id="proc-viewing-pod-logs_{context}"]
22
= Viewing pod logs
33

4-
To view pod logs, you must grant the following permission to the `ClusterRole`:
5-
4+
.Procedure
5+
* To view pod logs, you must grant the following permission to the `ClusterRole`:
6+
+
67
[source,yaml]
78
----
89
apiVersion: rbac.authorization.k8s.io/v1

modules/dynamic-plugins/proc-viewing-tekton-pipelineruns.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
[id="proc-viewing-tekton-pipelineruns_{context}"]
22
= Viewing Tekton PipelineRuns
33

4-
To view the Tekton PipelineRuns you must grant read access to the `pipelines`, `pipelinesruns`, and `taskruns` resources in the `ClusterRole`:
5-
4+
.Procedure
5+
. To view the Tekton PipelineRuns, grant read access to the `pipelines`, `pipelinesruns`, and `taskruns` resources in the `ClusterRole`:
6+
+
67
[source,yaml]
78
----
89
...
@@ -22,9 +23,8 @@ To view the Tekton PipelineRuns you must grant read access to the `pipelines`, `
2223
- get
2324
- list
2425
----
25-
26-
To view the Tekton PipelineRuns list in the side panel and the latest PipelineRuns status in the Topology node decorator, you must add the following code to the `kubernetes.customResources` property in your `{my-app-config-file}` file:
27-
26+
. To view the Tekton PipelineRuns list in the side panel and the latest PipelineRuns status in the Topology node decorator, add the following code to the `kubernetes.customResources` property in your `{my-app-config-file}` file:
27+
+
2828
[source,yaml]
2929
----
3030
kubernetes:

modules/dynamic-plugins/proc-viewing-virtual-machines.adoc

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[id="proc-viewing-virtual-machines_{context}"]
22
= Viewing virtual machines
33

4-
To view virtual machines, the OpenShift Virtualization operator must be installed and configured on a Kubernetes cluster.
5-
You must also grant read access to the `VirtualMachines` resource in the `ClusterRole`:
6-
4+
.Prerequisites
5+
. The OpenShift Virtualization operator is installed and configured on a Kubernetes cluster.
6+
.Procedure
7+
. Grant read access to the `VirtualMachines` resource in the `ClusterRole`:
8+
+
79
[source,yaml]
810
----
911
...
@@ -22,9 +24,8 @@ You must also grant read access to the `VirtualMachines` resource in the `Cluste
2224
- get
2325
- list
2426
----
25-
26-
To view the virtual machine nodes on the topology plugin, you must add the following code to the `kubernetes.customResources` property in the `{my-app-config-file}` file:
27-
27+
. To view the virtual machine nodes on the topology plugin, add the following code to the `kubernetes.customResources` property in the `{my-app-config-file}` file:
28+
+
2829
[source,yaml]
2930
----
3031
kubernetes:

0 commit comments

Comments
 (0)