joe-elliott / cert-exporter

A Prometheus exporter that publishes cert expirations on disk and in Kubernetes secrets
Apache License 2.0
313 stars 88 forks source link

Recursive glob (**) created a directory #148

Closed amarao closed 9 months ago

amarao commented 9 months ago

If parameter set to recursive glob, (--include-cert-glob=/tmp/**/*.pem), it creates a directory /tmp/** in a filesystem.

I didn't expect exporter to create any directories at all.

affected version: 2.11.1

(to reproduce it, disable shell globbing: set -f before running exporter).

amarao commented 9 months ago

Sorry, my bad. Docker did it with volume mounts.

joe-elliott commented 9 months ago

No problem :)