deckhouse / k8s-image-availability-exporter

Alert if an image used in Kubernetes cannot be pulled from container registry
Apache License 2.0
211 stars 25 forks source link

Fix capath flag. Use SystemCertPool #128

Closed asviel closed 6 months ago

asviel commented 6 months ago

AppendCertsFromPEM() takes PEM encoded content as input, not path to file. Also, we want to add CAs to the system ones, not replace them completely, so using SystemCertPool() is more appropriate.