← Back to Blog

πŸš€ How to Retrieve Username and Password for Thanos with Bitnami Helm Chart

πŸš€ How to Retrieve Username and Password for Thanos with Bitnami Helm Chart πŸ’‘ What I Want to Achieve: If you're using Thanos with the Bitnami Helm chart and need to retrieve the username and password, here are some simple steps to follow.

πŸš€ How to Retrieve Username and Password for Thanos with Bitnami Helm Chart

πŸ’‘ What I Want to Achieve:
If you're using Thanos with the Bitnami Helm chart and need to retrieve the username and password, here are some simple steps to follow. Let’s dive right in!

πŸ› οΈ Step 1: Check for Auto-generated Credentials

When you deploy Thanos using the Bitnami Helm chart, the credentials (username and password) may be auto-generated. Here's how to get them:

First, list your Helm deployments to find the release name

helm list

Now, replace with your actual Thanos release name

kubectl get secret -thanos -o jsonpath="{.data.thanos-admin-password}" | base64 --decode

`# Step 1: List your Helm releases to get the release name of Thanos
helm list

Step 2: Replace with the name of your Thanos release

Get the Thanos admin password using kubectl and decode it

kubectl get secret -thanos -o jsonpath="{.data.thanos-admin-password}" | % { [System.Text.Encoding]::UTF8.GetString([Convert]::FromBase64String($_)) }
`

πŸ’‘ Pro tip: This command will decode the password and display it in plain text. πŸ›‘οΈ Keep it safe!

πŸ“Έ Screenshot Pause:

Take a moment to grab a screenshot of your password output for future reference. πŸ‘


πŸ› οΈ Step 2: If You Set a Custom Username and Password

If you customized the username and password during installation, you’ll find those details in the Helm values file.

Retrieve the custom values used in the deployment

helm get values --all

πŸ” In the output, check for fields related to the username and password.


πŸš€ Wrapping Up

If you haven’t set any credentials or can’t remember the settings, don’t worry! The commands above will help you recover or confirm the current credentials.

πŸ€– Automating your Kubernetes deployment? Using Helm charts makes things easier, but securing credentials is crucial. Keep track of your secrets and ensure they’re stored securely.


πŸ’‘ Stay Connected:
Want to discuss more Kubernetes tips? Reach out or follow me on social media!


By using these steps, you'll have no trouble retrieving your Thanos credentials and keeping your Helm chart deployments secure. Happy coding! ✨


Does this work for what you had in mind? Would you like to add anything else? 😊


Imported from rifaterdemsahin.com Β· 2026