-
Notifications
You must be signed in to change notification settings - Fork 70
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
additional ca-bundle target option: pvc #381
Comments
This use case is probably better supported by trust-manager csi-driver, @ThatsMrTalbot? 😉 |
In its current implementation the POC CSI driver loads the bundle from the secret/configmap so would have the same issue. However I would not want to implement syncing to a PVC as targeting a PVC brings in more complications, for example:
Other implementation options:
|
|
I have put a bunch of thought into the implementation details, and I really don't think writing to PVCs is a feasible option. If the CSI only supports ReadWriteOnce (EBS for example):
If the CSI supports ReadWriteMany (EFS for example):
Using PVCs creates a massive dependency on a specific feature set that CSI must implement. In regards to some of your comments:
EmptyDir can be used to create a in-memory FS with a size limit, not writing anything to hosts disk. The limit would not even need to be that big, 5mb can hold a lot of certificates.
The AWS EBS CSI driver has zonal restrictions. The AWS EFS driver may have zonal limits, it depends on configuration. Honestly I think the perfect solution is writing our own CSI driver, this would have the following benefits:
|
Do you already have project for CSI driver for this purpose? I can try to contribute. |
No, not yet. @ThatsMrTalbot has create a POC for it, but not yet anything official. :-) |
After a demo at the last community meeting the POC was moved into the cert-manager org: Currently it loads the secret/configmap that trust-manager created, but that can be changed so it can perform the aggregation itself and thus remove the 1mb limit. This is still very much in the early stages, but if you want to contribute to the design/build then feel free to get involved, a good place to start is our daily stand-ups or bi-weekly community meetings. See https://cert-manager.io/docs/contributing. |
Issues go stale after 90d of inactivity. |
I have encountered the situation where the size of a ca-bundle exceeds the allowed size of a configmap and/or secret.
Options:
Reference:
The text was updated successfully, but these errors were encountered: