|
86 | 86 | $ oc get csv -n openshift-tempo-operator
|
87 | 87 | ----
|
88 | 88 |
|
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: |
90 | 90 |
|
91 |
| -** To create a secret from a YAML file: |
| 91 | +** To create a project from standard input without metadata: |
92 | 92 | +
|
93 | 93 | [source,terminal]
|
94 | 94 | ----
|
95 |
| -$ oc apply -f <secret_file>.yaml |
| 95 | +$ oc new-project <project_of_tempostack_instance> |
96 | 96 | ----
|
97 | 97 |
|
98 |
| -** To create a secret from standard input: |
| 98 | +** To create a project from standard input with metadata: |
99 | 99 | +
|
100 | 100 | [source,terminal]
|
101 | 101 | ----
|
102 | 102 | $ 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> |
104 | 107 | EOF
|
105 | 108 | ----
|
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 |
| --- |
114 | 109 |
|
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: |
116 | 111 |
|
117 |
| -** To create a project from standard input without metadata: |
| 112 | +** To create a secret from a YAML file: |
118 | 113 | +
|
119 | 114 | [source,terminal]
|
120 | 115 | ----
|
121 |
| -$ oc new-project <project_of_tempostack_instance> |
| 116 | +$ oc apply -f <secret_file>.yaml |
122 | 117 | ----
|
123 | 118 |
|
124 |
| -** To create a project from standard input with metadata: |
| 119 | +** To create a secret from standard input: |
125 | 120 | +
|
126 | 121 | [source,terminal]
|
127 | 122 | ----
|
128 | 123 | $ 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> |
133 | 125 | EOF
|
134 | 126 | ----
|
| 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 | +-- |
135 | 135 |
|
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. |
137 | 137 | +
|
138 | 138 | NOTE: You can create multiple *TempoStack* instances in separate projects on the same cluster.
|
139 | 139 | +
|
|
0 commit comments