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 804dadb + 38e7774 commit fc9802dCopy full SHA for fc9802d
content/en/docs/concepts/storage/volumes.md
@@ -325,7 +325,7 @@ You can restrict the use of `gitRepo` volumes in your cluster using
325
[ValidatingAdmissionPolicy](/docs/reference/access-authn-authz/validating-admission-policy/).
326
You can use the following Common Expression Language (CEL) expression as
327
part of a policy to reject use of `gitRepo` volumes:
328
-`has(object.spec.volumes) || !object.spec.volumes.exists(v, has(v.gitRepo))`.
+`!has(object.spec.volumes) || !object.spec.volumes.exists(v, has(v.gitRepo))`.
329
330
{{< /warning >}}
331
0 commit comments