-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
implement trusting a CA bundle #14609
Comments
Some initial investigation results here: https://github.com/ReToCode/knative-encryption/tree/main/8-trust-sources#trust-manager. Having CA Bundles in a Configmap is pretty common. OpenShift also has solutions that work this way. All of them allow to add a custom label to filter on them. So it might be a good approach to not limit the implementation to trust-manager, but instead to just read Configmaps with a specific label having PEM based bundles in them. |
Also there's something coming in Kubernetes |
This test relies on trusting certificates as described in knative#14609 This is currently not implemented in net-istio, and it's tracked as knative-extensions/net-istio#1328
This test relies on trusting certificates as described in #14609 This is currently not implemented in net-istio, and it's tracked as knative-extensions/net-istio#1328
This test relies on trusting certificates as described in knative#14609 This is currently not implemented in net-istio, and it's tracked as knative-extensions/net-istio#1328 (cherry picked from commit f84265a)
If we are using cert-manager, we currently build our trust on reading the
ca.crt
in the generated certificate'sSecret
to configure trust in:Digging into the docs and asking our cert-manager team, they strongly recommend to use trust-manager to distribute a trust bundle decoupled from the actual secret generation. With that in place, it enables to rotate the CA without breaking the trust:
Note the relevant bits from the docs
To not limit the use to just trust-manager, we can use the API of a ConfigMap containing one or more PEM formatted certificates as trust-bundle sources. This also works with other approaches like OpenShift PKI or OpenShift Service Signer which have the same interface, see https://github.com/ReToCode/knative-encryption/blob/main/8-trust-sources/README.md. In the future we can also add https://github.com/kubernetes/enhancements/tree/master/keps/sig-auth/3257-cluster-trust-bundles as a possible extension or replacement.
Tasks
TrustBundleLabelKey
to register networking#900The text was updated successfully, but these errors were encountered: