grafana / grafana-operator

An operator for Grafana that installs and manages Grafana instances, Dashboards and Datasources through Kubernetes/OpenShift CRs
https://grafana.github.io/grafana-operator/
Apache License 2.0
863 stars 384 forks source link

Basic Authentication support for Grafana Dashboard resources when using url #1605

Open tchelovilar opened 2 months ago

tchelovilar commented 2 months ago

Describe the solution you'd like

I would like to have HTTP authentication support for URL dashboards to have a private dashboard repository. Also would be nice to have the option to read the credentials from secrets.

Additional context It could be some extra options for the URL:

spec:
  urlAuthorization:
    basicAuth:
      username: username 
      passwordFrom:
        secretName: secret-name
        key: password
theSuess commented 2 months ago

Thanks for the issue! @pb82 will work on a proposal to discuss the specific changes needed to the CRD