Skip to content

Commit 1604a7e

Browse files
GitHub Actionsjmagak
authored andcommitted
Fix inconsistencies with referencing my-rhdh-secretS
1 parent 0ad3e09 commit 1604a7e

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

modules/installation/proc-deploy-rhdh-instance-gke.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,16 @@ data:
4545
----
4646
--
4747

48-
. Create a Secret named {my-product-secret} and add a key named `BACKEND_SECRET` with a `Base64-encoded` string as value:
48+
. Create a Secret named `{my-product-secret}` and add a key named `BACKEND_SECRET` with a `Base64-encoded` string as value:
4949
+
5050
--
5151
.`{my-product-secrets}` fragment
52-
[source,yaml]
52+
[source,yaml,subs="+quotes,+attributes"]
5353
----
5454
apiVersion: v1
5555
kind: Secret
5656
metadata:
57-
name: {my-product-secret}
57+
name: `{my-product-secret}`
5858
stringData:
5959
# TODO: See https://backstage.io/docs/auth/service-to-service-auth/#setup
6060
BACKEND_SECRET: "xxx"
@@ -88,7 +88,7 @@ kubectl patch serviceaccount default \
8888
+
8989
--
9090
.Custom resource fragment
91-
[source,yaml,subs="attributes+"]
91+
[source,yaml,subs="+quotes,+attributes"]
9292
----
9393
apiVersion: rhdh.redhat.com/v1alpha3
9494
kind: Backstage
@@ -106,7 +106,7 @@ spec:
106106
- name: "app-config-rhdh"
107107
extraEnvs:
108108
secrets:
109-
- name: {my-product-secret}
109+
- name: `{my-product-secret}`
110110
----
111111
--
112112

modules/installation/proc-rhdh-deploy-aks-operator.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,12 @@ data:
117117
. Create a Secret named `{my-product-secrets}` and add a key named `BACKEND_SECRET` with a `Base64-encoded` string value as shown in the following example:
118118
+
119119
--
120-
[source,yaml]
120+
[source,yaml,subs="+quotes,+attributes"]
121121
----
122122
apiVersion: v1
123123
kind: Secret
124124
metadata:
125-
name: {my-product-secret}
125+
name: `{my-product-secret}`
126126
stringData:
127127
BACKEND_SECRET: "xxx"
128128
----
@@ -131,7 +131,7 @@ stringData:
131131
. Create your `{product-custom-resource-type}` custom resource (CR) manifest file named `rhdh.yaml` and include the previously created `rhdh-pull-secret` as follows:
132132
+
133133
--
134-
[source,yaml]
134+
[source,yaml,subs="+quotes,+attributes"]
135135
----
136136
apiVersion: rhdh.redhat.com/v1alpha3
137137
kind: Backstage
@@ -146,7 +146,7 @@ spec:
146146
- name: "app-config-rhdh"
147147
extraEnvs:
148148
secrets:
149-
- name: {my-product-secret}
149+
- name: `{my-product-secret}`
150150
----
151151
--
152152

0 commit comments

Comments
 (0)