Open
Description
This is a Feature Request
What would you like to be added
Some extra language helping with the differences between has()
and in
for maps vs fields.
Why is this needed
> CEL provides has(), which checks if the key passed to it exists.
Seems to indicate that a map would work (key) for has()
. But it apparently it doesn't (need to use in
) or the fact that the a["b"]
notation breaks has()
as well. (Based on some comments from this issue: kubernetes/kubernetes#118230)
Comments
Split of from: #41391
About page: https://kubernetes.io/docs/reference/access-authn-authz/validating-admission-policy/
Metadata
Metadata
Assignees
Labels
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Categorizes issue or PR as related to documentation.Categorizes issue or PR as related to a new feature.Issues or PRs related to English languageIndicates an issue or PR lacks a `triage/foo` label and requires one.Categorizes an issue or PR as relevant to SIG API Machinery.Categorizes an issue or PR as relevant to SIG Auth.
Type
Projects
Status
Backlog