redhat-cop / cert-utils-operator

Set of functionalities around certificates packaged in a Kubernetes operator
Apache License 2.0
95 stars 35 forks source link

ability to inject ca_bundles from configmap #81

Open raffaelespazzoli opened 3 years ago

raffaelespazzoli commented 3 years ago

ca_bundles are public info and there is a trend now make them available in configmaps rather than secrets. Cert-uitls should support injecting ca_bundles from configmaps. A single configmap to secret injector should suffice as all other injector support secret as source.

raffaelespazzoli commented 3 years ago

This Fixes #41 also when closed.

mathianasj commented 3 years ago

Going to review if this was completed as part of or #82

raffaelespazzoli commented 3 years ago

@mathianasj can we close this?

mathianasj commented 3 years ago

I will take a look today to make sure it is present

QuingKhaos commented 2 years ago

Need this as well. The The Cluster Network Operator injects certificates across any namespace when an empty ConfigMap is created with the config.openshift.io/inject-trusted-cabundle=true label, but several components like the GitLab Runner Operator expect the ca-bundle within a secret.

Injecting the ca from the above configmap into the secret would be required.

davidkarlsen commented 5 months ago

yes, like https://docs.openshift.com/container-platform/4.14/networking/configuring-a-custom-pki.html#certificate-injection-using-operators_configuring-a-custom-pki - just targeting secrets for the storage.