# Prometheus stack deployment using helm in kubernetes cluster

**URL:** <https://discuss.prometheus.io/t/prometheus-stack-deployment-using-helm-in-kubernetes-cluster/3243>\
**Category:** Prometheus server\
**Created:** [January 7, 2025, 11:33am UTC](https://discuss.prometheus.io/t/prometheus-stack-deployment-using-helm-in-kubernetes-cluster/3243 "2025-01-07T11:33:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![girishnehte](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.prometheus.io/girishnehte/32/681_2.png) [@girishnehte](https://discuss.prometheus.io/u/girishnehte)\
**Post date:** [January 7, 2025, 11:33am UTC](https://discuss.prometheus.io/t/prometheus-stack-deployment-using-helm-in-kubernetes-cluster/3243/1 "2025-01-07T11:33:54Z")

</div>

I am installing prometheus-stack using helm charts in my k8s cluster and the deployment uses argocd. In my values.yaml file I have defined different jobs. Couple of jobs needed authentication and I gave it like  
basic\_auth:  
username:   
password:

I want to pick these credentials from the secret in the cluster. But looks like prometheus helm does not supports it. Also I tried to get the value from env variable by mounting the secret in the pod. but looks like that is also not supported. Can you please suggest a solution for this. How can I avoid hardcoding the credentials in values.yaml file?
