Skip to content

Commit 59c965a

Browse files
authored
RHIDP-3206: Added attribute declaration to the relevant source code block (redhat-developer#946)
* Added attribute declaration to the relevant source code block * Updated env variables
1 parent 7ef2e57 commit 59c965a

4 files changed

+10
-10
lines changed

modules/configuring-external-databases/proc-configuring-postgresql-instance-using-helm.adoc

+7-7
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ By default, {product-short} uses a database for each plugin and automatically cr
2424

2525
. Optional: Create a certificate secret to configure your PostgreSQL instance with a TLS connection:
2626
+
27-
[source,terminal]
27+
[source,terminal, subs="+attributes"]
2828
----
2929
cat <<EOF | oc -n <your-namespace> create -f -
3030
apiVersion: v1
@@ -52,7 +52,7 @@ EOF
5252

5353
. Create a credential secret to connect with the PostgreSQL instance:
5454
+
55-
[source,terminal]
55+
[source,terminal, subs="+attributes"]
5656
----
5757
cat <<EOF | oc -n <your-namespace> create -f -
5858
apiVersion: v1
@@ -76,7 +76,7 @@ EOF
7676

7777
. Configure your PostgreSQL instance in the Helm configuration file named `values.yaml`:
7878
+
79-
[source,yaml]
79+
[source,yaml, subs="+attributes"]
8080
----
8181
# ...
8282
upstream:
@@ -89,10 +89,10 @@ upstream:
8989
backend:
9090
database:
9191
connection: # configure Backstage DB connection parameters
92-
host: ${POSTGRES_HOST}
93-
port: ${POSTGRES_PORT}
94-
user: ${POSTGRES_USER}
95-
password: ${POSTGRES_PASSWORD}
92+
host: $\{POSTGRES_HOST}
93+
port: $\{POSTGRES_PORT}
94+
user: $\{POSTGRES_USER}
95+
password: $\{POSTGRES_PASSWORD}
9696
ssl:
9797
rejectUnauthorized: true,
9898
ca:

modules/configuring-external-databases/proc-migrating-databases-to-an-external-server.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ You can stop port forwarding when the copying of the data is complete. For more
8181
. Reconfigure your `{product-custom-resource-type}` custom resource (CR). For more information, see link:{configuring-book-url}#proc-configuring-postgresql-instance-using-operator_configuring-external-postgresql-databases[Configuring an external PostgreSQL instance using the Operator].
8282
. Check that the following code is present at the end of your `Backstage` CR after reconfiguration:
8383
+
84-
[source,yaml]
84+
[source,yaml, subs="+attributes"]
8585
----
8686
# ...
8787
spec:

modules/dynamic-plugins/proc-create-plugin-tgz-file.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ npm pack --pack-destination ~/test/dynamic-plugins-root/
4848
To create a plugin registry using HTTP server on {ocp-short}, run the following commands:
4949
5050
.Example commands to build and deploy an HTTP server in {ocp-short}
51-
[source,terminal]
51+
[source,terminal, subs="+attributes"]
5252
----
5353
oc project {my-product-namespace}
5454
oc new-build httpd --name=plugin-registry --binary

modules/installation/proc-install-rhdh-airgapped-environment-ocp-helm.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ If an x509 error occurs, verify that you have link:https://access.redhat.com/sol
9292

9393
. Use the following command to verify that both images are present in the internal {ocp-short} registry:
9494
+
95-
[source,terminal]
95+
[source,terminal,subs="+attributes"]
9696
----
9797
oc get imagestream -n {my-product-namespace}
9898
----

0 commit comments

Comments
 (0)