Any #kubernetes gurus around?
I'm working in an environment with an internal self-issued CA (actually a root and two subordinate CAs), and trying to figure out the best (or least-bad) way to make those CAs available to pods running in various namespaces.
I eventually figured to use a DaemonSet to load the certs into /etc/ssl/certs/ on each node so that K8s will trust a private registry with a cert issued by the CAs.
But what about the other workload pods?
I guess another option would be to maintain our own images with the cert chain built in and just deploy those out of the private registry.
Which was going to be my approach before I realized that it wouldn't work without somehow convincing the nodes to trust that registry and then eventually figured out how to make that happen but now I don't really want to maintain all those extra images just because.
Ugh computers are dumb. Certificates are the worst.
Of course we're also standing up an automated CI/CD system as a part of this effort so really recreating our customized images on a regular basis wouldn't be much of a hurdle. I'm kind of thinking this is going to be The Way we go.