Fix example command

This commit is contained in:
Billy Tat
2021-06-15 09:00:06 -07:00
parent 8144e09ef0
commit b282c059b8
@@ -113,7 +113,7 @@ Method 3 can be used as a fallback if method 1 and 2 are unfeasible.
For each cluster under Rancher management (including `local`) run the following command using the Kubeconfig file of the Rancher management cluster (RKE or K3S). For each cluster under Rancher management (including `local`) run the following command using the Kubeconfig file of the Rancher management cluster (RKE or K3S).
``` ```
kubectl patch clusters <REPLACE_WITH_CLUSTERID> -p '{"status":{"agentImage":"dummy"}}' --type merge kubectl patch clusters.management.cattle.io <REPLACE_WITH_CLUSTERID> -p '{"status":{"agentImage":"dummy"}}' --type merge
``` ```
This command will cause all Agent Kubernetes resources to be reconfigured with the checksum of the new certificate. This command will cause all Agent Kubernetes resources to be reconfigured with the checksum of the new certificate.