Skip to content

Commit 944b079

Browse files
committed
apply coderabbit review comments
Signed-off-by: Atif Ali <atali@redhat.com>
1 parent 8e213fc commit 944b079

2 files changed

Lines changed: 14 additions & 5 deletions

File tree

docs/admin-enable-plugin.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,19 @@ The console loads plugins listed in `spec.plugins` on `console.operator.openshif
5151

5252
2. To enable **gitops-plugin**:
5353

54-
```bash
55-
PLUGIN_PATCH='[{"op":"add","path":"/spec/plugins/-","value":"gitops-plugin"}]'
56-
oc patch console.operator.openshift.io cluster --type=json -p "${PLUGIN_PATCH}"
57-
```
54+
* If step 1 printed a JSON array (for example `["monitoring-plugin"]`), append **gitops-plugin**:
55+
56+
```bash
57+
PLUGIN_PATCH='[{"op":"add","path":"/spec/plugins/-","value":"gitops-plugin"}]'
58+
oc patch console.operator.openshift.io cluster --type=json -p "${PLUGIN_PATCH}"
59+
```
60+
61+
* If step 1 printed nothing (or only `null`), `spec.plugins` is missing. Create the list:
62+
63+
```bash
64+
PLUGIN_PATCH='[{"op":"add","path":"/spec/plugins","value":["gitops-plugin"]}]'
65+
oc patch console.operator.openshift.io cluster --type=json -p "${PLUGIN_PATCH}"
66+
```
5867

5968
Skip this step if `gitops-plugin` is already in the list from the previous command.
6069

docs/applications.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ From the row kebab, you can:
7373

7474
> **NOTE**
7575
>
76-
> The Application kebab does not include **Sync** or **Rollback**. Use sync policy toggles on the Details tab, the Argo CD UI, the `argocd` CLI, or YAML. Use the History tab as a reference for past revisions, then roll back from the Argo CD UI or CLI if needed.
76+
> The Application kebab does not include **Sync** or **Rollback**. Sync policy toggles on the Details tab (**Automated**, **Prune**, **Self Heal**) and YAML changes only configure sync policy or the manifest; they do not run a one-time sync. For a manual sync or rollback, use the Argo CD UI or the `argocd` CLI. The History tab lists past revisions for reference; it does not roll back.
7777
7878
### Favorites
7979

0 commit comments

Comments
 (0)