@@ -17,6 +17,48 @@ You can install {product-short} on {osd-short} on {gcp-short} using the {product
17
17
. In the *Filter by keyword* box, enter {product-short} and click the *{product} Operator* card.
18
18
. On the *{product} Operator* page, click *Install*.
19
19
. In the {ocp-short} console, navigate to *Installed Operators* and select *{product} Operator*.
20
+ . Create a ConfigMap named `app-config-rhdh` containing the {product-short} configuration using the following template:
21
+ +
22
+ --
23
+ [source,yaml,subs="attributes+"]
24
+ ----
25
+ apiVersion: v1
26
+ kind: ConfigMap
27
+ metadata:
28
+ name: app-config-rhdh
29
+ data:
30
+ "app-config-rhdh.yaml": |
31
+ app:
32
+ title: {product}
33
+ baseUrl: https://<rhdh_dns_name>
34
+ backend:
35
+ auth:
36
+ externalAccess:
37
+ - type: legacy
38
+ options:
39
+ subject: legacy-default-config
40
+ secret: "${BACKEND_SECRET}"
41
+ baseUrl: https://<rhdh_dns_name>
42
+ cors:
43
+ origin: https://<rhdh_dns_name>
44
+ ----
45
+ --
46
+
47
+ . Create a Secret named `{my-product-secrets}` and add a key named `BACKEND_SECRET` with a `Base64-encoded` string as value:
48
+ +
49
+ --
50
+ [source,yaml,subs="+attributes,+quotes"]
51
+ ----
52
+ apiVersion: v1
53
+ kind: Secret
54
+ metadata:
55
+ name: {my-product-secrets}
56
+ stringData:
57
+ # TODO: See https://backstage.io/docs/auth/service-to-service-auth/#setup
58
+ BACKEND_SECRET: "xxx"
59
+ ----
60
+ --
61
+
20
62
. From the {product-short} Operator page, click *Create New Instance* and specify the name and namespace where you want to deploy {product-short}.
21
63
. Configure the required settings such as Git integration, secret management, and user permissions.
22
64
. Review the configuration, select deployment options, and click *Create*.
0 commit comments