diff --git a/versioned_docs/version-2.8/reference-guides/rancher-security/rancher-webhook-hardening.md b/versioned_docs/version-2.8/reference-guides/rancher-security/rancher-webhook-hardening.md index 1f771dfdfe5..0362deecc5c 100644 --- a/versioned_docs/version-2.8/reference-guides/rancher-security/rancher-webhook-hardening.md +++ b/versioned_docs/version-2.8/reference-guides/rancher-security/rancher-webhook-hardening.md @@ -127,7 +127,7 @@ The webhook should only accept requests from the Kubernetes API server. By defau 6. Create a configmap in the `cattle-system` namespace on the provisioned cluster with these values: ``` - kubectl --namespace cattle-system create configmap --from-file=rancher-webhook=values.yaml + kubectl --namespace cattle-system create configmap rancher-config --from-file=rancher-webhook=values.yaml ``` The webhook will restart with these values.