Skip to content

Commit 547559e

Browse files
committed
BZ:1931001 update command to use --dry-run=client
1 parent a8260b3 commit 547559e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/monitoring-applying-custom-alertmanager-configuration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ With this configuration, alerts of `critical` severity that are fired by the `ex
9090
+
9191
[source,terminal]
9292
----
93-
$ oc -n openshift-monitoring create secret generic alertmanager-main --from-file=alertmanager.yaml --dry-run -o=yaml | oc -n openshift-monitoring replace secret --filename=-
93+
$ oc -n openshift-monitoring create secret generic alertmanager-main --from-file=alertmanager.yaml --dry-run=client -o=yaml | oc -n openshift-monitoring replace secret --filename=-
9494
----
9595

9696
To change the Alertmanager configuration from the {product-title} web console:

0 commit comments

Comments
 (0)