generated from redhat-developer/new-project-template
-
Notifications
You must be signed in to change notification settings - Fork 58
RHIDP-7849 Added existing modules to _Setting up and configuring your first instance_ #1267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
3984733
RHIDP-7849 Added existing modules to the _Getting started with RHDH o…
themr0c 642e48c
Merge branch 'main' into RHIDP-7849
themr0c e68acb3
Update titles/configuring/master.adoc
themr0c 5d6d027
Merge branch 'main' into RHIDP-7849
themr0c 19a4ce4
fix build
themr0c 2b1f3ba
Update modules/configuring/con-checklist-to-run-your-first-rhdh-insta…
themr0c 41df7c5
Update modules/configuring/con-checklist-to-run-your-first-rhdh-insta…
themr0c d467f75
Update modules/configuring/con-checklist-to-run-your-first-rhdh-insta…
themr0c e2e0a1b
Update modules/configuring/proc-preparing-your-external-services.adoc
themr0c 6b0a1d6
Update modules/configuring/snip-provisioning-your-custom-configuratio…
themr0c 1dffd09
Update modules/configuring/snip-provisioning-your-custom-configuratio…
themr0c f760afb
Update modules/configuring/proc-preparing-your-external-services.adoc
themr0c 628bc01
Update modules/configuring/proc-preparing-your-external-services.adoc
themr0c d451151
Update modules/configuring/snip-provisioning-your-custom-configuratio…
themr0c 5b8a157
Update modules/configuring/proc-provisioning-your-custom-configuratio…
themr0c 7adb2bc
Update modules/configuring/proc-using-the-operator-to-run-rhdh-with-y…
themr0c 946fc93
Update modules/configuring/proc-using-the-operator-to-run-rhdh-with-y…
themr0c 57af66a
Update modules/configuring/snip-provisioning-your-custom-configuratio…
themr0c 8f77208
Merge branch 'main' into RHIDP-7849
themr0c 3dcfc65
fix build
themr0c File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
...es/configuring/con-checklist-to-run-your-first-rhdh-instance-in-production.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| :_mod-docs-content-type: CONCEPT | ||
|
|
||
| [id="checklist-to-run-your-first-rhdh-instance-in-production_{context}"] | ||
| = Checklist to run your first {product} ({product-very-short}) instance in production. | ||
|
|
||
| With the default configuration, {product-short} runs with a minimal feature set that does not require secure connection to external services such as an identity provider, a Git provider, and external PostgreSQL and Redis databases. | ||
|
|
||
| Using critical features therefore requires following additional configuration: | ||
|
|
||
| For resiliency:: | ||
| * Use an external PostgreSQL database. | ||
| * Enable high-availability. | ||
|
|
||
| For performance:: | ||
| * Enable assets caching to an external Redis database. | ||
|
|
||
| For security:: | ||
| * Use secure connections to your external services. | ||
| * Provision users and enable authentication. | ||
| * Enable role-based access control, and configure the permission policy by using the Web UI. | ||
|
|
||
| For adapting to your environment:: | ||
| * Enable GitHub repository discovery. | ||
| * Customize {product-short} appearance with your logo. | ||
2 changes: 1 addition & 1 deletion
2
...rhdh-instance-with-tls-in-kubernetes.adoc → ...rhdh-instance-with-tls-in-kubernetes.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
118 changes: 118 additions & 0 deletions
118
modules/configuring/proc-preparing-your-external-services.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,118 @@ | ||
| :_mod-docs-content-type: PROCEDURE | ||
|
|
||
| [id="preparing-your-external-services"] | ||
| = Preparing your external services | ||
|
|
||
| {product} relies on external services. | ||
| Prepare the following required external services: | ||
|
|
||
| PostgreSQL database:: | ||
| {product-short} stores data in a PostgreSQL database. | ||
| Use an external database for resiliency and include it in your disaster recovery plan. | ||
|
|
||
| Redis cache:: | ||
| For efficiency, {product-short} caches plugin and Techdocs assets when your provide a Redis cache server. | ||
|
|
||
| GitHub API access:: | ||
| Provide credentials to a GitHub app to enable access to the GitHub API for repository discovery. | ||
|
|
||
| Connection to your identity provider:: | ||
| Provide credentials to your identity provider to enable user provisioning and authentication. | ||
|
|
||
| .Procedure | ||
themr0c marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| * Get your external PostgreSQL database connection strings and certificates. | ||
| postgres-host::: Your PostgreSQL instance Domain Name System (DNS) or IP address. | ||
| postgres-port::: Your PostgreSQL instance port number, such as 5432. | ||
| postres-username::: The user name to connect to your PostgreSQL instance. | ||
| postgres-password::: The password to connect to your PostgreSQL instance. | ||
| postgres-ca.pem::: | ||
| postgres-key.key::: | ||
| postgres-crt.pem::: | ||
| For security, use TLS certificates to secure the connection to the database. | ||
|
|
||
| . Get your Redis cache server connection string, such as `rediss://user:[email protected]:6379`. | ||
| For security, consider using a `rediss` secure server connection. | ||
|
|
||
| . Create a GitHub App to allow {product-short} to access the GitHub API for repository. | ||
| Opt for a GitHub App instead of an OAuth app to use fine-grained permissions, gain more control over which repositories the application can access, and use short-lived tokens. | ||
|
|
||
| .. link:https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/registering-a-github-app[Register a GitHub App] with the following configuration: | ||
|
|
||
| GitHub App name:: | ||
| Enter a unique name identifying your GitHub App, such as `integrating-with-rhdh-__<GUID>__`. | ||
|
|
||
| Homepage URL:: | ||
| Enter your {product-short} URL: `pass:c,a,q[{my-product-url}]`. | ||
|
|
||
| Authorization callback URL:: | ||
| Enter your {product-short} authentication backend URL: `pass:c,a,q[{my-product-url}/api/auth/github/handler/frame]`. | ||
|
|
||
| Webhook:: | ||
| Clear "Active", as this is not needed for authentication and catalog providers. | ||
|
|
||
| App permissions:: | ||
| Select permissions to define the level of access for the app. | ||
| Adapt permissions to your needs: | ||
|
|
||
| Reading software components::: | ||
|
|
||
| Contents:::: | ||
| `Read-only` | ||
|
|
||
| Commit statuses:::: | ||
| `Read-only` | ||
|
|
||
| Reading organization data::: | ||
|
|
||
| Members:::: | ||
| `Read-only` | ||
|
|
||
| Publishing software templates::: | ||
| Set permissions if you intend to use the same GitHub App for software templates. | ||
|
|
||
| Administration:::: | ||
| `Read & write` (for creating repositories) | ||
|
|
||
| Contents:::: | ||
| `Read & write` | ||
|
|
||
| Metadata:::: | ||
| `Read-only` | ||
|
|
||
| Pull requests:::: | ||
| `Read & write` | ||
|
|
||
| Issues:::: | ||
| `Read & write` | ||
|
|
||
| Workflows:::: | ||
| `Read & write` (if templates include GitHub workflows) | ||
|
|
||
| Variables:::: | ||
| `Read & write` (if templates include GitHub Action Repository Variables) | ||
|
|
||
| Secrets:::: | ||
| `Read & write` (if templates include GitHub Action Repository Secrets) | ||
|
|
||
| Environments:::: | ||
| `Read & write` (if templates include GitHub Environments) | ||
|
|
||
| Organization permissions:: | ||
| Members::: | ||
| `Read-only` | ||
|
|
||
| Where can this GitHub App be installed?:: | ||
| Select `Only on this account`. | ||
|
|
||
| .. In the *General* -> *Clients secrets* section, click *Generate a new client secret*. | ||
|
|
||
| .. In the *General* -> *Private keys* section, click *Generate a private key*. | ||
|
|
||
| .. In the *Install App* tab, choose an account to install your GitHub App on. | ||
|
|
||
| .. Save the following values for the next step: | ||
|
|
||
| * **App ID** | ||
| * **Client ID** | ||
| * **Client secret** | ||
| * **Private key** | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.