Skip to content
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

Is CA bundle required for external data provider? #3803

Open
kebugcheckex opened this issue Jan 30, 2025 · 0 comments
Open

Is CA bundle required for external data provider? #3803

kebugcheckex opened this issue Jan 30, 2025 · 0 comments

Comments

@kebugcheckex
Copy link

I noticed that both in the code and in the CRD schema, the caBundle field is required for the providers.externaldata.gatekeeper.sh.

In our use case, the external data provider uses a TLS certificated issued by a well-known CA, not a private CA or self-signed certificate. In this case I believe the Go HTTP client should be able to verify the certificate using the system's certificate stores. Do you think this field can be made optional? This will save some effort to extract the proper CA chain and set them in the config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant