-
Notifications
You must be signed in to change notification settings - Fork 23
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
Support Gatekeeper v3.11 External Data Beta API #20
Comments
Hey @bdun1013, thanks for the issue.
Yes. Maybe we can use secrets resource to support hot-reloading feature by using SharedInformers. Or just calling an external endpoint to fetch cert and cache into internal memory would solve the problem.
Definitely. We should also update all the Would you like to submit a PR for this? /cc @developer-guy |
Hey @Dentrax, what about potentially using the cert-controller library, which is used by Gatekeeper? I opened up open-policy-agent/cert-controller#54 to add support for injecting the |
Hi @bdun1013, out of curiosity, now that open-policy-agent/cert-controller#55 is implemented, what are the next steps here? Also, is the planned implementation you mentioned earlier in this thread close to what Ratify does? Not asking to do the same, but curious to know the differences if any as they are using the same external data feature of Gatekeeper. |
@Dentrax what is the next steps here? |
any updates about this? |
Is there a set example and documentation for gatekeeper where it resolves this error |
hey, any updates on the above? thanks! |
read the first post in this thread |
Description
The provider is not compatible with Gatekeeper v3.11+:
From here:
Would need to figure out the best way to supply the provider with rotating certs. They could just be mounted from a Secret. The
caBundle
field in the Provider spec will also need to updated with the CA cert chain that signed the provider's server cert.From here:
It should be the recommendation to run the provider in the
gatekeeper-system
namespace so the provider can access the Gatekeeper CA in thegatekeeper-webhook-server-cert
Secret.The text was updated successfully, but these errors were encountered: