Skip to content

Commit 4452232

Browse files
author
GitHub Actions
committed
Incorporate technical suggestions
1 parent d5f3b97 commit 4452232

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

modules/configuring-external-databases/proc-configuring-pvc-mounts.adoc renamed to modules/configuring-external-databases/proc-configuring-default-configuration-for-secrets-and-pvcs.adoc

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
:_mod-docs-content-type: PROCEDURE
2-
[id="proc-configuring-pvc-mounts_{context}"]
3-
= Configuring Persistent Volume Claim (PVC) mounts
2+
[id="proc-default-configuration-for-secrets-and-pvcs_{context}"]
3+
= Configuring default configuration for Secrets and PVCs
44

5-
You can configure which containers the Persistent Volume Claim (PVC) mounts to by adding `rhdh.redhat.com/containers` to your configuration file. You can configure multiple secrets by using annotations to specify mount paths for each secret and target specific containers where the secrets should mount. Adding annotations ensures flexible storage and secrets management across different containers. The `default-config/deployment.yaml` file defines the dynamic plugins directory, as shown in the following example:
5+
By default, the mount path is the {product-short} container's working directory, and if you do not define the mount path, it defaults to `/opt/app-root/src`. `app-config`, `configmap-files`, `secret-files`, `dynamic-plugins`, and PVCs mount to the container as either files or directories. The `default-config/deployment.yaml` file defines the dynamic plugins directory, as shown in the following example:
66

77
[source,yaml]
88
----
@@ -17,9 +17,11 @@ You can configure which containers the Persistent Volume Claim (PVC) mounts to b
1717
name: dynamic-plugins-root
1818
----
1919

20+
You can add the `rhdh.redhat.com/containers` annotation to your configuration file to specify the mount path.
21+
2022
.Procedure
2123

22-
. Specify the container where the PVC mounts by adding the `rhdh.redhat.com/mount-path` annotation to your configuration as shown in the following example:
24+
. Specify the mount path where the PVC mounts to by adding the `rhdh.redhat.com/mount-path` annotation to your configuration as shown in the following example:
2325
+
2426
.Example specifying where the PVC mounts
2527
[source,yaml,subs="+attributes,+quotes"]
@@ -33,10 +35,10 @@ metadata:
3335
----
3436
where:
3537

36-
`rhdh.redhat.com/mount-path`:: Specifies which container the PVC mounts to.
38+
`rhdh.redhat.com/mount-path`:: Specifies which mount path the PVC mounts to.
3739
<my_claim>:: Specifies the PVC to mount.
3840

39-
. Specify the container where the Secret mounts by adding the `rhdh.redhat.com/mount-path` annotation to your configuration as shown in the following example:
41+
. Specify the mount path where the Secret mounts to by adding the `rhdh.redhat.com/mount-path` annotation to your configuration as shown in the following example:
4042
+
4143
.Example specifying where the Secret mounts
4244
[source,yaml,subs="+attributes,+quotes"]
@@ -52,7 +54,7 @@ where:
5254

5355
<my_secret>:: Specifies the Secret name.
5456

55-
. Use the following configuration to mount PVCs to all containers:
57+
. Use the following configuration to mount Secrets to all containers:
5658
+
5759
.Example configuration for mounting to all containers
5860
[source,yaml,subs="+attributes,+quotes"]

titles/configuring/master.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ include::modules/installation/proc-configuring-an-rhdh-instance-with-tls-in-kube
3333
include::modules/dynamic-plugins/con-dynamic-plugins-cache.adoc[ leveloffset=+1]
3434

3535

36-
include::modules/configuring-external-databases/proc-configuring-pvc-mounts.adoc[leveloffset=+1]
36+
include::modules/configuring-external-databases/proc-configuring-default-configuration-for-secrets-and-pvcs.adoc[leveloffset=+1]
3737

3838

3939
include::modules/dynamic-plugins/proc-installing-and-configuring-redis-cache.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)