Skip to content

Commit 2d222d7

Browse files
committed
Incorporated Armel's comments
1 parent 0424539 commit 2d222d7

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

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

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,23 @@ kind: Backstage
2424
metadata:
2525
name: {my-product-cr-name}
2626
spec:
27-
deployment:
27+
application:
2828
appConfig:
2929
mountPath: /opt/app-root/src
3030
configMaps:
3131
- name: {my-app-config-config-map}
3232
extraEnvs:
3333
secrets:
34-
- name: `_<my_product_secrets>_`
34+
- name: _<my_product_secrets>_
3535
extraFiles:
3636
mountPath: /opt/app-root/src
37+
route:
38+
enabled: true
39+
spec:
40+
deployment:
3741
patch:
3842
spec:
3943
replicas: 1
40-
route:
41-
enabled: true
4244
database:
4345
enableLocalDb: true
4446
----
@@ -53,7 +55,7 @@ kind: Backstage
5355
metadata:
5456
name: _<{my-product-cr-name}>_
5557
spec:
56-
deployment:
58+
application:
5759
appConfig:
5860
mountPath: /opt/app-root/src
5961
configMaps:
@@ -69,11 +71,13 @@ spec:
6971
secrets:
7072
- name: {my-product-database-certificates-secrets}
7173
key: postgres-crt.pem, postgres-ca.pem, postgres-key.key
72-
patch:
73-
spec:
74-
replicas: 1
75-
route:
76-
enabled: true
74+
route:
75+
enabled: true
76+
spec:
77+
deployment:
78+
patch:
79+
spec:
80+
replicas: 1
7781
database:
7882
enableLocalDb: false
7983
----

0 commit comments

Comments
 (0)