As an AI language model, I do not have access to your specific Kubernetes cluster configuration or resources. However, I can provide some general information about basic_auth_users in kube-prometheus.
Kube-prometheus is a collection of Kubernetes manifests, Grafana dashboards, and Prometheus rules that are used for monitoring Kubernetes clusters using Prometheus and Grafana. Basic authentication is a way to restrict access to certain resources by requiring users to provide a username and password.
In kube-prometheus, basic_auth_users is a field in the values.yaml file that allows you to specify a list of users who will be granted access to the Prometheus web UI and API using basic authentication. The format for specifying basic_auth_users is as follows:
basic_auth_users:
- username: alice
password: secret1
- username: bob
password: secret2
In this example, two users (alice and bob) are specified with their respective passwords (secret1 and secret2). These users will be able to authenticate themselves when accessing the Prometheus web UI or API.
It’s important to note that basic authentication should not be considered secure as credentials are transmitted over the network in plain text. It’s recommended to use HTTPS/TLS encryption with client certificates or OAuth2 authentication for more secure access control.