Add the ability to configure exporters system ca bundle#1141
Add the ability to configure exporters system ca bundle#1141beelzetron wants to merge 8 commits into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @beelzetron. Thanks for your PR. I'm waiting for a dora-metrics member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
d65bb7f to
e97fd8f
Compare
|
Test images available! 🧪🚀 To test operator with them, run To clean up environment afterwards, run |
Test OK on my side. |
Introduce the ability to override the exporters system ca bundle by passing a ConfigMap with the `ca-bundle.crt` key. The key must PEM formatted certificates. Signed-off-by: Lorenzo Dalrio <ldalrio@redhat.com>
Signed-off-by: Lorenzo Dalrio <ldalrio@redhat.com>
Signed-off-by: Lorenzo Dalrio <ldalrio@redhat.com>
Signed-off-by: Lorenzo Dalrio <ldalrio@redhat.com>
Signed-off-by: Lorenzo Dalrio <ldalrio@redhat.com>
Signed-off-by: Lorenzo Dalrio <ldalrio@redhat.com>
dora-metrics#1144) Signed-off-by: Eric Sauer <esauer@redhat.com>
Signed-off-by: Lorenzo Dalrio <ldalrio@redhat.com>
|
Test images available! 🧪🚀 To test operator with them, run To clean up environment afterwards, run |
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Linked Issues
N/A
Description
Some people need to trust internal CAs emitting TLS certificates for internal only services.
Adding the internal CAs to the container system CA bundle avoids certificate validation errors in the exporters.
This PR adds the ability to override the exporters system CA bundle with a ConfigMap.
The ConfigMap must contain the
ca-bundle.crtkey populated with PEM formatted certificates to be trusted.The ConfigMap will be mounted into the exporter pods updating the system CA bundle located in
/etc/pki/tls/certs/ca-bundle.crt.Testing Instructions
Create the ConfigMap with the CA bundle:
Create a values file with the
custom_ca_configmapconfiguration:Deploy the exporters helm chart using the values file just created.