diff --git a/content/en/docs/concepts/storage/volumes.md b/content/en/docs/concepts/storage/volumes.md index 8868a38fe5724..cd5fc1ad24009 100644 --- a/content/en/docs/concepts/storage/volumes.md +++ b/content/en/docs/concepts/storage/volumes.md @@ -326,7 +326,7 @@ You can restrict the use of `gitRepo` volumes in your cluster using [ValidatingAdmissionPolicy](/docs/reference/access-authn-authz/validating-admission-policy/). You can use the following Common Expression Language (CEL) expression as part of a policy to reject use of `gitRepo` volumes: -`!has(object.spec.volumes) || !object.spec.volumes.exists(v, has(v.gitRepo))`. +`has(object.spec.volumes) || !object.spec.volumes.exists(v, has(v.gitRepo))`. {{< /warning >}}