-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spike: investigate implementing parameter resources #9
Comments
is there another way to get parameters into the policy? |
@fabriziosestito any idea how to get parameters into the policy? |
@floriankoch kubewarden doesn't have the concept of bindings so we need to figure out a way to implement the parameters feature inside the cel policy. We are working to support host capabilities inside CEL policies. Could you please elaborate a bit more on what you are trying to achieve so we can understand if it this could fit your use-case? |
@fabriziosestito sure i have this expression, and i want the array of prefixes to be dynamic, it depends on cluster and environment
I have another usecase where i have a allowlist for ingress domains, but the domains are different on each stage I can deploy a configmap with the settings, bit how can i read them from the expression
|
@fabriziosestito anything new here? |
@floriankoch please stay tuned, we are looking forward to tackling this, but it will not go into the Kubewarden 1.14 milestone for now. |
We need to investigate implementing parameter resources.
Kubewarden has no equivalent to
ValidatingAdmissionPolicyBinding
, but we could define bothparamKind
andparamRef
in the settings and use context-aware calls to retrieve the resource.The text was updated successfully, but these errors were encountered: