Skip to content

Commit c41f8b2

Browse files
authored
Merge branch 'main' into RHIDP-6396-Modularize-air-gapped-installation-doc-operator
2 parents b1e95ae + 48069cb commit c41f8b2

31 files changed

+1136
-161
lines changed

assemblies/assembly-configuring-techdocs.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:_mod-docs-content-type: ASSEMBLY
22
:context: configuring-techdocs
33
[id="{context}"]
4-
= Configuring TechDocs
4+
= TechDocs configuration
55

66
The TechDocs plugin is preinstalled and enabled on a {product-short} instance by default. You can disable or enable the TechDocs plugin, and change other parameters, by configuring the {product} Helm chart or the {product} Operator ConfigMap.
77

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[id="assembly-install-rhdh-airgapped-environment-ocp-helm_{context}"]
2+
= Installing {product} on {ocp-short} in an air-gapped environment with the Helm chart
3+
4+
You can install {product} in a fully disconnected or partially disconnected environment using the {product} Helm chart.
5+
6+
[role="_additional-resources"]
7+
.Additional resources
8+
* For more information about registry authentication, see https://access.redhat.com/RegistryAuthentication[{company-name} Container Registry Authentication].
9+
10+
include::modules/installation/proc-install-rhdh-helm-airgapped-full.adoc[leveloffset=+1]
11+
12+
include::modules/installation/proc-install-rhdh-helm-airgapped-partial.adoc[leveloffset=+1]
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
:context: techdocs-addon-installing
3+
[id="techdocs-addon-installing"]
4+
= Installing and configuring a TechDocs add-on
5+
6+
TechDocs add-ons are supported by {company-name} are imported by the `backstage-plugin-techdocs-module-addons-contrib` plugin package. The `<ReportIssue />` add-on is preinstalled in the TechDocs plugin and enabled by default. You can install external TechDocs add-ons by adding them to `backstage-plugin-techdocs-module-addons-contrib` package with either the {product} Operator or Helm chart. Additionally, you can import compatible third-party add-ons, including add-ons that you create yourself, with a third-party dynamic plugin.
7+
8+
include::modules/techdocs/proc-techdocs-addon-install-operator.adoc[]
9+
10+
include::modules/techdocs/proc-techdocs-addon-install-helm.adoc[]
11+
12+
include::modules/techdocs/proc-techdocs-addon-install-third-party.adoc[]
13+
14+
.Additional resources
15+
* link:https://docs.redhat.com/en/documentation/red_hat_developer_hub/1.4/html/installing_and_viewing_plugins_in_red_hat_developer_hub/rhdh-installing-rhdh-plugins_title-plugins-rhdh-about[Installing dynamic plugins in Red Hat Developer Hub]
16+
* link:https://docs.redhat.com/en/documentation/red_hat_developer_hub/1.4/html/installing_and_viewing_plugins_in_red_hat_developer_hub/assembly-third-party-plugins[Third-party plugins in Red Hat Developer Hub]
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
:context: techdocs-addon-removing
3+
[id="techdocs-addon-removing"]
4+
= Removing a TechDocs add-on
5+
6+
Administrators can remove installed TechDocs add-ons from your {product} instance by using either the Operator or Helm chart, depending on the method used to install the add-on. If you used the Operator to install the add-on, remove it from the ConfigMap. If you used the Helm chart to install the add-on, remove it from the Helm chart.
7+
8+
If you want to disable a plugin instead of removing it from your {product} instance, you can disable the plugin that you are using to import the TechDocs add-on. Since the `disabled` status is controlled at the plugin level, disabling the plugin disables all of the TechDocs add-ons in the specified plugin package.
9+
10+
include::modules/techdocs/proc-techdocs-addon-remove-operator.adoc[]
11+
12+
include::modules/techdocs/proc-techdocs-addon-remove-helm.adoc[]
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
:context: techdocs-addon-using
3+
[id="techdocs-addon-using"]
4+
= Using TechDocs add-ons
5+
6+
After an administrator installs a TechDocs add-on in your {product} instance, you can use it to extend the functionality of the TechDocs plugin and enhance your documentation experience.
7+
8+
include::modules/techdocs/proc-techdocs-addon-use-report-issue.adoc[]
9+
10+
include::modules/techdocs/proc-techdocs-addon-use-text-size.adoc[]
11+
12+
include::modules/techdocs/proc-techdocs-addon-use-light-box.adoc[]
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
:context: techdocs-addon
3+
[id="techdocs-addon"]
4+
= TechDocs add-ons
5+
6+
TechDocs add-ons are dynamic plugins that extend the functionality of the built-in TechDocs plugin. For example, you can use add-ons to report documentation issues, change text size, or view images in overlay in either the TechDocs Reader page or an Entity page.
7+
8+
The following table describes the TechDocs add-ons that are available for {product} {product-version}:
9+
10+
.TechDocs Add-ons available in {product}
11+
|===
12+
| TechDocs Add-on | Package/Plugin | Description | Type
13+
14+
| `<ReportIssue />`
15+
| `backstage-plugin-techdocs-module-addons-contrib`
16+
| Select a portion of text on a TechDocs page and open an issue against the repository that contains the documentation. The issue template is automatically populated with the selected text.
17+
| Preinstalled
18+
19+
| `<TextSize />`
20+
| `backstage-plugin-techdocs-module-addons-contrib`
21+
| Customize text size on documentation pages by increasing or decreasing the font size with a slider or buttons. The default value for font size is 100% and this setting is kept in the browser's local storage whenever it is changed.
22+
| External
23+
24+
| `<LightBox />`
25+
| `backstage-plugin-techdocs-module-addons-contrib`
26+
| Open images in a light-box on documentation pages, to navigate to multiple images on a single page. The image size of the light-box image is the same as the image size on the document page. Clicking the zoom icon increases the image size to fit the screen.
27+
| External
28+
29+
//future release | `<ExpandableNavigation />`
30+
//future release | `backstage-plugin-techdocs-module-addons-contrib`
31+
//future release | Expand or collapse the subtitles in the TechDocs navigation menu and keep your preferred state between documentation sites.
32+
|===
33+
34+
You can use a dynamic plugin to import a TechDocs add-on. TechDocs add-ons are enabled at the plugin level, therefore, enabling a plugin enables all of the TechDocs add-ons in the specified plugin package. The preinstalled and external add-ons supported by {company} are imported by the `backstage-plugin-techdocs-module-addons-contrib` plugin package. Since the `disabled` status is set at the plugin level, the `disabled` status of the plugin package applies to all of the TechDocs add-ons imported by that package.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
[id="rhdh-extensions-plugins_{context}"]
2+
= Extensions in {product}
3+
4+
include::{docdir}/artifacts/snip-technology-preview.adoc[]
5+
6+
:context: rhdh-extensions-plugins
7+
8+
{product} ({product-very-short}) includes the Extensions feature which is preinstalled and enabled by default. Extensions provides users with a centralized interface to browse and manage available plugins
9+
10+
You can use Extensions to discover plugins that extend {product-very-short} functionality, streamline development workflows, and improve the developer experience.
11+
12+
// The feature is a first read-only version of the extensions plugin
13+
// (previously called marketplace)
14+
// It can show Plugins (a display name, icon, highlights, description) and
15+
// Packages (npm package names and versions) in RHDH under
16+
// Administration > Extensions
17+
// The data are stored in the Software Catalog
18+
// There are default Plugins for all Dynamic plugin.
19+
// Customers can add their own.
20+
// There is no option to install a Plugin in 1.5.
21+
22+
23+
// Viewing Extensions
24+
include::../modules/dynamic-plugins/proc-catalog-viewing.adoc[leveloffset=+1]
25+
26+
// Viewing installed plugins
27+
include::../modules/dynamic-plugins/proc-viewing-installed-plugins.adoc[leveloffset=+1]
28+
29+
// Searching and filtering Extensions
30+
include::../modules/dynamic-plugins/con-catalog-searching-and-filtering.adoc[leveloffset=+1]
31+
32+
// Viewing a plugin
33+
include::../modules/dynamic-plugins/ref-catalog-plugin.adoc[leveloffset=+2]
34+
35+
// Disabling Extensions
36+
include::../modules/dynamic-plugins/proc-extensions-disabling.adoc[leveloffset=+1]
37+
38+
// Managing the extensions plugin entries - For 1.6+
39+
//include::../modules/dynamic-plugins/proc-extensions-managing.adoc[leveloffset=+1]
40+
41+
// Creating the extensions plugin metadata - For 1.6+
42+
//include::../modules/dynamic-plugins/proc-extensions-creating.adoc[leveloffset=+1]

modules/authentication/proc-enabling-authentication-with-rhbk.adoc

Lines changed: 48 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,59 @@ Save the value for the next step:
3939
[source,yaml]
4040
----
4141
auth:
42-
environment: production # <1>
42+
environment: production
4343
providers:
4444
oidc:
4545
production:
46-
metadataUrl: ${AUTH_OIDC_METADATA_URL} # <2>
46+
metadataUrl: ${AUTH_OIDC_METADATA_URL}
4747
clientId: ${AUTH_OIDC_CLIENT_ID}
4848
clientSecret: ${AUTH_OIDC_CLIENT_SECRET}
49-
signInPage: oidc # <3>
49+
prompt: auto
50+
signInPage: oidc
5051
----
51-
<1> Mark the environment as `production` and disable the Guest login option in the {product-short} login page.
52-
<2> Apply the {rhbk} credentials configured in your {product-short} secrets.
53-
<3> To enable the {rhbk} provider as your {product-short} sign-in provider.
52+
53+
`environment: production`::
54+
Mark the environment as `production` to hide the Guest login in the {product-short} home page.
55+
56+
`metadataUrl`, `clientId`, `clientSecret`::
57+
To configure the OIDC provider with your secrets.
58+
59+
`sigInPage: oidc`::
60+
To enable the OIDC provider as default sign-in provider.
61+
62+
`prompt: auto`::
63+
To allow the identity provider to automatically determine whether to prompt for credentials or bypass the login redirect if an active {rhsso} session exists.
64+
65+
[NOTE]
66+
====
67+
If `prompt: auto` is not set, the identity provider defaults to `prompt: none`, which assumes that you are already logged in and rejects sign-in requests without an active session.
68+
====
69+
70+
Optional: Consider adding the following optional fields:
71+
72+
`dangerouslyAllowSignInWithoutUserInCatalog: true`::
5473
+
55-
.. Optional: Consider adding the following optional fields:
74+
--
75+
To enable authentication without requiring to provision users in the {product-short} software catalog.
76+
77+
WARNING: Use this option to explore {product-short} features, but do not use it in production.
78+
79+
.`{my-app-config-file}` fragment with optional field to allow authenticating users absent from the software catalog
80+
[source,yaml]
81+
----
82+
auth:
83+
environment: production
84+
providers:
85+
oidc:
86+
production:
87+
metadataUrl: ${AUTH_OIDC_METADATA_URL}
88+
clientId: ${AUTH_OIDC_CLIENT_ID}
89+
clientSecret: ${AUTH_OIDC_CLIENT_SECRET}
90+
prompt: auto
91+
signInPage: oidc
92+
dangerouslyAllowSignInWithoutUserInCatalog: true
93+
----
94+
--
5695

5796
`callbackUrl`::
5897
{rhbk} callback URL.
@@ -112,14 +151,14 @@ After successful authentication, the user signing in must be resolved to an exis
112151
+
113152
The authentication provider tries each sign-in resolver in order until it succeeds, and fails if none succeed.
114153
+
115-
WARNING: In production mode, only configure one resolver to ensure users are securely matched.
154+
WARNING: In production mode, only configure one resolver to ensure users are securely matched.
116155
`resolver`::::
117156
Enter the sign-in resolver name.
118157
Available values:
119158
* `emailLocalPartMatchingUserEntityName`
120159
* `emailMatchingUserEntityProfileEmail`
121160
* `preferredUsernameMatchingUserEntityName`
122-
+
161+
123162
.`{my-app-config-file}` fragment with optional `resolvers` list
124163
[source,yaml]
125164
----
@@ -197,4 +236,3 @@ If multiple valid refresh tokens are issued due to frequent refresh token reques
197236
. Go to the {product-short} login page.
198237
. Your {product-short} sign-in page displays *Sign in using OIDC* and the Guest user sign-in is disabled.
199238
. Log in with OIDC by using the saved **Username** and **Password** values.
200-
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
= Search and filter the plugins
2+
3+
== Search by plugin name
4+
You can use the search bar in the header to filter the Extensions plugin cards by name. For example, if you type “A” into the search bar, Extensions shows only the plugins that contain the letter “A” in the Name field.
5+
6+
Optionally, you can use the search bar in conjunction with a filter to filter only plugins of the selected filter by name. For example, you can apply the *Category* filter and then type a character into the search bar to view only Openshift plugins that contain the typed character in the name.
7+
8+
The following filters are available:
9+
10+
* Category
11+
* Author
12+
* Support type
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[id="rhdh-extensions-plugins-viewing_{context}"]
2+
= Viewing available plugins
3+
4+
You can view plugins available for your {product} application on the *Extensions* page.
5+
6+
.Procedure
7+
8+
. Open your {product-short} application and click *Administration* > *Extensions*.
9+
. Go to the *Catalog* tab to view a list of installed plugins and related information.

0 commit comments

Comments
 (0)