This repository was archived by the owner on Dec 8, 2023. It is now read-only.
This repository was archived by the owner on Dec 8, 2023. It is now read-only.
Add support for cloud-init ca-certs field #744
Open
Description
Is your feature request related to a problem? Please describe.
I'd like to add a private CA as a trusted root to k3os. Cloud-init provides a way to accomplish this, via the ca-certs
parameter, but k3os doesn't seem to support this parameter.
Describe the solution you'd like
I'd like k3os to support using ca-certs.trusted
in the cloud-init data to add trusted root CAs (while leaving the existing trusted roots in place unless ca-certs.remove-defaults
is set to true
).
Describe alternatives you've considered
I considered manually adding the certificate using write_files
, but this is difficult to do correctly due to a bug in k3os's implementation of update-ca-certificates
(#518).