We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2fed611 + c94fa0c commit 1766fccCopy full SHA for 1766fcc
content/en/docs/concepts/storage/volumes.md
@@ -326,7 +326,7 @@ You can restrict the use of `gitRepo` volumes in your cluster using
326
[ValidatingAdmissionPolicy](/docs/reference/access-authn-authz/validating-admission-policy/).
327
You can use the following Common Expression Language (CEL) expression as
328
part of a policy to reject use of `gitRepo` volumes:
329
-`!has(object.spec.volumes) || !object.spec.volumes.exists(v, has(v.gitRepo))`.
+`has(object.spec.volumes) || !object.spec.volumes.exists(v, has(v.gitRepo))`.
330
331
{{< /warning >}}
332
0 commit comments