Skip to content

Commit 1766fcc

Browse files
authored
Merge pull request #45826 from SaranBalaji90/patch-1
Update gitrepo volumes.md
2 parents 2fed611 + c94fa0c commit 1766fcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/docs/concepts/storage/volumes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ You can restrict the use of `gitRepo` volumes in your cluster using
326326
[ValidatingAdmissionPolicy](/docs/reference/access-authn-authz/validating-admission-policy/).
327327
You can use the following Common Expression Language (CEL) expression as
328328
part of a policy to reject use of `gitRepo` volumes:
329-
`!has(object.spec.volumes) || !object.spec.volumes.exists(v, has(v.gitRepo))`.
329+
`has(object.spec.volumes) || !object.spec.volumes.exists(v, has(v.gitRepo))`.
330330

331331
{{< /warning >}}
332332

0 commit comments

Comments
 (0)