Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Regex support in --secret-type flag #242

Open
AnuragEkkati opened this issue Jan 27, 2024 · 1 comment
Open

Feature: Regex support in --secret-type flag #242

AnuragEkkati opened this issue Jan 27, 2024 · 1 comment

Comments

@AnuragEkkati
Copy link

New Feature Request:

We use x509 extensively in our production to monitor the certs. Recently during onboarding one of our internal customer, we realized that it is a hassle to keep adding the flag --secret-type for every custom key of the secret where the value is certificate we want to monitor.

It will be very helpful if we have regex support like below

--secret-type=Opaque:.*.crt --secret-type=Opaque:.*.pem

If x509 exporter has to scan all of the cluster secrets and if we have too many customizations in the secret keys it becomes unmanageable

@AnuragEkkati
Copy link
Author

AnuragEkkati commented Jan 28, 2024

@npdgm kindly take a look at the PR #243

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant