Skip to content

Commit 9bcc60b

Browse files
committed
RHIDP-7560 - Install and configure plugins from Extensions page (next phase)
1 parent d385ba8 commit 9bcc60b

File tree

3 files changed

+49
-9
lines changed

3 files changed

+49
-9
lines changed

assemblies/dynamic-plugins/assembly-extensions-plugins.adoc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,6 @@ include::../modules/dynamic-plugins/proc-extensions-configuring-plugins.adoc[lev
4848
// include::../modules/dynamic-plugins/con-extensions-troubleshooting-plugins-installation.adoc[leveloffset=+1]
4949
// ==========
5050

51-
// Enabling plugins installation by using Extensions
52-
// include::../modules/dynamic-plugins/proc-extensions-enabling.adoc[leveloffset=+1]
53-
54-
// Managing plugins [TBC]
55-
//include::../modules/dynamic-plugins/proc-extensions-managing.adoc[leveloffset=+1]
56-
57-
// Installing a plugin [TBC]
58-
//include::../modules/dynamic-plugins/proc-extensions-installing.adoc[leveloffset=+1]
59-
6051
// END RHDH 1.7.0
6152

6253
// Operator installation by using plugin extension
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
[id="proc-troubleshooting-plugins_{context}"]
2+
= Troubleshooting plugins
3+
4+
== {product-very-short} pod fails to start after enabling a plugin
5+
. Inspect your {product-very-short} pod logs to identify if the plugin requires specific environment variables or additional configuration, for example:
6+
+
7+
[source,terminal]
8+
----
9+
Plugin '<PLUGIN_NAME>' threw an error during startup, waiting for X other plugins to finish before shutting down the process. Plugin '<PLUGIN_NAME>' startup failed; caused by Error: Missing required config value at '<concretePluginRequiredVariable.name>' in 'app-config.local.yaml' type="initialization"
10+
----
11+
. Verify the required configuration by inspecting `dynamic-plugins.default.yaml` file that lists the required environment variables for each plugin.
12+
The variables for each plugin are in the format of `${PLUGIN_VARIABLE_NAME}`
13+
. If any required environment variables are missing, set the environment variables by using a *secret*, for example:
14+
+
15+
[source,yaml]
16+
----
17+
kind: Secret
18+
apiVersion: v1
19+
metadata:
20+
name: rhdh-secrets
21+
labels:
22+
backstage.io/kubernetes-id: developer-hub
23+
data:
24+
PLUGIN_VARIABLE_NAME: 'dummy-value'
25+
type: Opaque
26+
----
27+
. Mount the secret:
28+
.. If {product-very-short} is deployed by using the Operator, update your Backstage CR, as follows:
29+
+
30+
[source,yaml]
31+
----
32+
spec:
33+
application:
34+
extraEnvs:
35+
secrets:
36+
- name: rhdh-secrets
37+
----
38+
.. If {product-very-short} is deployed by using the Helm chart, under *Root Schema → Backstage Chart Schema → Backstage Parameters → Backstage container environment variables from existing Secrets*:
39+
+
40+
[source,yaml]
41+
----
42+
upstream:
43+
backstage:
44+
extraEnvVarsSecrets:
45+
- rhdh-secrets
46+
----

titles/plugins-rhdh-install/master.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ include::modules/dynamic-plugins/proc-enable-plugins-rhdh-container-image.adoc[l
2222

2323
// Extensions (marketplace) plugins
2424
include::assemblies/dynamic-plugins/assembly-extensions-plugins.adoc[leveloffset=+1]
25+
26+
// Troubleshooting plugins
27+
include::modules/dynamic-plugins/proc-plugins-troubleshooting.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)