Skip to content

Commit 0a9e81b

Browse files
authored
Merge pull request #66372 from max-cx/OBSDOCS-576-fix
OBSDOCS-576: Docs bug fix for two incorrectly ordered procedure steps
2 parents 8a947b4 + 9a42cc8 commit 0a9e81b

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

modules/distr-tracing-tempo-install-cli.adoc

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -86,54 +86,54 @@ EOF
8686
$ oc get csv -n openshift-tempo-operator
8787
----
8888

89-
. Create a secret for your object storage bucket by running one of the following commands:
89+
. Create a project of your choice for the *TempoStack* instance that you will create in a subsequent step:
9090

91-
** To create a secret from a YAML file:
91+
** To create a project from standard input without metadata:
9292
+
9393
[source,terminal]
9494
----
95-
$ oc apply -f <secret_file>.yaml
95+
$ oc new-project <project_of_tempostack_instance>
9696
----
9797

98-
** To create a secret from standard input:
98+
** To create a project from standard input with metadata:
9999
+
100100
[source,terminal]
101101
----
102102
$ oc apply -f - << EOF
103-
<object_storage_secret>
103+
apiVersion: project.openshift.io/v1
104+
kind: Project
105+
metadata:
106+
name: <project_of_tempostack_instance>
104107
EOF
105108
----
106-
+
107-
--
108-
include::snippets/distr-tracing-tempo-required-secret-parameters.adoc[]
109-
--
110-
+
111-
--
112-
include::snippets/distr-tracing-tempo-secret-example.adoc[]
113-
--
114109

115-
. Create a project of your choice for the *TempoStack* instance that you will create in the next step:
110+
. In the project that you created for the *TempoStack* instance, create a secret for your object storage bucket by running one of the following commands:
116111

117-
** To create a project from standard input without metadata:
112+
** To create a secret from a YAML file:
118113
+
119114
[source,terminal]
120115
----
121-
$ oc new-project <project_of_tempostack_instance>
116+
$ oc apply -f <secret_file>.yaml
122117
----
123118

124-
** To create a project from standard input with metadata:
119+
** To create a secret from standard input:
125120
+
126121
[source,terminal]
127122
----
128123
$ oc apply -f - << EOF
129-
apiVersion: project.openshift.io/v1
130-
kind: Project
131-
metadata:
132-
name: <project_of_tempostack_instance>
124+
<object_storage_secret>
133125
EOF
134126
----
127+
+
128+
--
129+
include::snippets/distr-tracing-tempo-required-secret-parameters.adoc[]
130+
--
131+
+
132+
--
133+
include::snippets/distr-tracing-tempo-secret-example.adoc[]
134+
--
135135

136-
. Create a *TempoStack* instance in the project that you created for the *TempoStack* instance in the previous step.
136+
. Create a *TempoStack* instance in the project that you created for the *TempoStack* instance.
137137
+
138138
NOTE: You can create multiple *TempoStack* instances in separate projects on the same cluster.
139139
+

modules/distr-tracing-tempo-install-web-console.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ This installs the Operator with the default presets:
3636

3737
.. In the *Details* tab of the page of the installed Operator, under *ClusterServiceVersion details*, verify that the installation *Status* is *Succeeded*.
3838

39-
. Create a secret for your object storage bucket: go to *Workloads* -> *Secrets* -> *Create* -> *From YAML*.
39+
. Create a project of your choice for the *TempoStack* instance that you will create in a subsequent step: go to *Home* -> *Projects* -> *Create Project*.
40+
41+
. In the project that you created for the *TempoStack* instance, create a secret for your object storage bucket: go to *Workloads* -> *Secrets* -> *Create* -> *From YAML*.
4042
+
4143
--
4244
include::snippets/distr-tracing-tempo-required-secret-parameters.adoc[]
@@ -46,8 +48,6 @@ include::snippets/distr-tracing-tempo-required-secret-parameters.adoc[]
4648
include::snippets/distr-tracing-tempo-secret-example.adoc[]
4749
--
4850

49-
. Create a project of your choice for the *TempoStack* instance that you will create in the next step: go to *Home* -> *Projects* -> *Create Project*.
50-
5151
. Create a *TempoStack* instance.
5252
+
5353
NOTE: You can create multiple *TempoStack* instances in separate projects on the same cluster.

0 commit comments

Comments
 (0)