Skip to content

Commit

Permalink
Incorporated Fabrice's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pabel-rh committed Jan 24, 2025
1 parent 099192b commit 3fd2fd3
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ $ oc create configmap rbac-policies \
--from-file=rbac-conditional-policies.yaml
----

. Update your `{product-custom-resource-type}` custom resource to mount in the {product-short} filesystem your files from the `rbac-policies` config map:
. Update your `{product-custom-resource-type}` link:{configuring-book-url}[custom resource] to mount in the {product-short} filesystem your files from the `rbac-policies` config map:
+
.`{product-custom-resource-type}` Custom resource fragment
[source,yaml]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ For Operator-based deployment, the approach you use for proxy configuration is b
----


* As a developer, set the proxy information in your `{product-custom-resource-type}` CR file as shown in the following example:
* As a developer, set the proxy information in your `{product-custom-resource-type}` custom resource file as shown in the following example:
+
.Example: Setting proxy variables in a CR file
[source, yaml]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The {product} operator exposes a `rhdh.redhat.com/v1alpha2` API Version of its C

.Procedure

. Create a `{product-custom-resource-type}` Custom Resource Definition with the following fields:
. Create a `{product-custom-resource-type}` custom resource with the following fields:

--
.Example
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ To use the {product-short} operator to run {product} with your custom configurat

.Procedure

. Author your {product-custom-resource-type} CR in a `{my-product-cr-name}.yaml` file to use your custom config maps and secrets.
. Author your {product-custom-resource-type} custom resource in a `{my-product-cr-name}.yaml` file to use your custom config maps and secrets.
+
.Minimal `{my-product-cr-name}.yaml` custom resource example
====
Expand Down
2 changes: 1 addition & 1 deletion modules/installation/proc-deploy-rhdh-instance-eks.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ kubectl patch serviceaccount default \
----
--

. Create a custom resource file using the following template:
. Create your `{product-custom-resource-type}` custom resource using the following template:
+
--
[source,yaml,subs="+attributes,+quotes"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
- port: http-metrics
path: '/metrics'
----
<1> Replace `<custom_resource_name>` with the name of your `{product-custom-resource-type}` CR.
<1> Replace `<custom_resource_name>` with the name of your `{product-custom-resource-type}` custom resource.
<2> Replace `<project_name>` with the name of the {ocp-short} project where your {product} instance is running.

. Apply the `ServiceMonitor` CR by running the following command:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ data:
disabled: true
----

. Set the value of the `dynamicPluginsConfigMapName` parameter to the name of the ConfigMap file in your `{product-custom-resource-type}` custom resource:
. Set the value of the `dynamicPluginsConfigMapName` parameter to the name of your `dynamic-plugins-rhdh` config map in your `{product-custom-resource-type}` custom resource:
+
[source,yaml]
----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ data:
disabled: false
----

. Set the value of the `dynamicPluginsConfigMapName` parameter to the name of the ConfigMap file in your `{product-custom-resource-type}` custom resource:
. Set the value of the `dynamicPluginsConfigMapName` parameter to the name of your `dynamic-plugins-rhdh` config map in your `{product-custom-resource-type}` custom resource:
+
[source,yaml]
----
Expand Down

0 comments on commit 3fd2fd3

Please sign in to comment.