Skip to content

Commit 1b93f4a

Browse files
authored
Merge pull request #95180 from paulczar/patch-1
[fix] pull secret doc shouldn't tell user to update status
2 parents b2c7ba1 + 12aea0f commit 1b93f4a

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

articles/openshift/howto-add-update-pull-secret.md

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ First, modify the Samples Operator configuration file. Then, you can run the fol
149149
oc edit configs.samples.operator.openshift.io/cluster -o yaml
150150
```
151151

152-
Change the `spec.architectures.managementState` and `status.architecture.managementState` values from `Removed` to `Managed`.
152+
Change the `spec.architectures.managementState` value from `Removed` to `Managed`.
153153

154154
The following YAML snippet shows only the relevant sections of the edited YAML file:
155155

@@ -164,13 +164,6 @@ spec:
164164
architectures:
165165
- x86_64
166166
managementState: Managed
167-
status:
168-
architectures:
169-
170-
...
171-
172-
managementState: Managed
173-
version: 4.3.27
174167
```
175168
176169
Second, run the following command to edit the Operator Hub configuration file:
@@ -179,7 +172,7 @@ Second, run the following command to edit the Operator Hub configuration file:
179172
oc edit operatorhub cluster -o yaml
180173
```
181174

182-
Change the `Spec.Sources.Disabled` and `Status.Sources.Disabled` values from `true` to `false` for any sources you want enabled.
175+
Change the `Spec.Sources.Disabled` value from `true` to `false` for any sources you want enabled.
183176

184177
The following YAML snippet shows only the relevant sections of the edited YAML file:
185178

@@ -194,18 +187,6 @@ Spec:
194187
Name: certified-operators
195188
Disabled: false
196189
Name: redhat-operators
197-
Status:
198-
Sources:
199-
Disabled: false
200-
Name: certified-operators
201-
Status: Success
202-
Disabled: false
203-
Name: community-operators
204-
Status: Success
205-
Disabled: false
206-
Name: redhat-operators
207-
Status: Success
208-
Events: <none>
209190
```
210191
211192
Save the file to apply your edits.

0 commit comments

Comments
 (0)