Skip to content

Commit 0424539

Browse files
committed
Updated deprecated ones
1 parent c12f7a6 commit 0424539

File tree

3 files changed

+19
-13
lines changed

3 files changed

+19
-13
lines changed

modules/configuring-high-availability/proc-configuring-high-availability-in-rhdh-operator-deployment.adoc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ kind: Backstage
1616
metadata:
1717
name: _<your_yaml_file>_
1818
spec:
19-
application:
20-
...
21-
replicas: _<replicas_value>_ <1>
22-
...
19+
deployment:
20+
patch:
21+
spec:
22+
...
23+
replicas: _<replicas_value>_ <1>
24+
...
2325
----
2426
====
2527
<1> Set the number of replicas based on the number of backup instances that you want to configure.

modules/configuring/proc-using-the-operator-to-run-rhdh-with-your-custom-configuration.adoc

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ kind: Backstage
2424
metadata:
2525
name: {my-product-cr-name}
2626
spec:
27-
application:
27+
deployment:
2828
appConfig:
2929
mountPath: /opt/app-root/src
3030
configMaps:
@@ -34,9 +34,11 @@ spec:
3434
- name: `_<my_product_secrets>_`
3535
extraFiles:
3636
mountPath: /opt/app-root/src
37-
replicas: 1
38-
route:
39-
enabled: true
37+
patch:
38+
spec:
39+
replicas: 1
40+
route:
41+
enabled: true
4042
database:
4143
enableLocalDb: true
4244
----
@@ -51,7 +53,7 @@ kind: Backstage
5153
metadata:
5254
name: _<{my-product-cr-name}>_
5355
spec:
54-
application:
56+
deployment:
5557
appConfig:
5658
mountPath: /opt/app-root/src
5759
configMaps:
@@ -67,9 +69,11 @@ spec:
6769
secrets:
6870
- name: {my-product-database-certificates-secrets}
6971
key: postgres-crt.pem, postgres-ca.pem, postgres-key.key
70-
replicas: 1
71-
route:
72-
enabled: true
72+
patch:
73+
spec:
74+
replicas: 1
75+
route:
76+
enabled: true
7377
database:
7478
enableLocalDb: false
7579
----

modules/customizing-techdocs/proc-techdocs-configure-odf-operator.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ These variables are then used in the TechDocs plugin configuration.
2525
+
2626
[source,yaml]
2727
----
28-
apiVersion: objectbucket.io/v1alpha1
28+
apiVersion: rhdh.redhat.com/v1alpha3
2929
kind: Backstage
3030
metadata:
3131
name: <name>

0 commit comments

Comments
 (0)