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

Allow the PostgreSQL collector to derive the PostgreSQL password from a kubernetes secret #1720

Open
Mahoney opened this issue Jan 13, 2025 · 0 comments

Comments

@Mahoney
Copy link

Mahoney commented Jan 13, 2025

Describe the rationale for the suggested feature.

Currently you can only pass a password to the PostgreSQL Collector as a plain text string in the URL (e.g. uri: postgresql://user:password@hostname:5432/defaultdb?sslmode=require).

Typically this is not secure, and if you are using a helm chart for your app you are probably creating a kubernetes secret to contain the password, whether to an external database or to one you are creating inside the cluster.

I don't know if this SupportBundle check runs inside or outside the cluster, but assuming it runs inside it would be good to be able to use that secret to provide the password for this collector.

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