charts icon indicating copy to clipboard operation
charts copied to clipboard

[stable/grafana] slack takes localhost:3000 instead of ingress configured domain name

Open Saggi432 opened this issue 7 years ago • 5 comments

Describe the bug when we install grafana with tls configs.. the grafana url mentioned in the slack alert still localhost:3000 instead of the domain name mentioned in the ingress config

Version of Helm and Kubernetes: Client: &version.Version{SemVer:"v2.12.1", GitCommit:"02a47c7249b1fc6d8fd3b94e6b4babf9d818144e", GitTreeState:"clean"} Server: &version.Version{SemVer:"v2.14.1", GitCommit:"5270352a09c7e8b6e8c9593002a73535276507c0", GitTreeState:"clean"}

Which chart: grafana-2.2.0

What happened: The grafana URL in the slack alert is not the same as the one configured during the chart installation.

What you expected to happen: The grafana url needs to be the domain name given in the chart instead of localhost.

How to reproduce it (as minimally and precisely as possible): installing the chart by specifying the tls config values as below

grafana.ingress.hosts grafana.ingress.tls[0].hosts grafana.ingress.tls[0].secretName

Anything else we need to know:

The work around has been to include the domain name in the /etc/grafana/grafana.ini however we have to give the https along with the domain name.

Saggi432 avatar Jul 08 '19 21:07 Saggi432

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

stale[bot] avatar Aug 07 '19 22:08 stale[bot]

Same issue, some way to fix this throguh helm values?

segator avatar Aug 10 '19 17:08 segator

Came across this issue as well, it's a grafana configuration issue, nothing to do with the helm chart, use the following:

grafana.ini:
  server:
    root_url: http://grafana.example.com

Raab70 avatar Aug 28 '19 17:08 Raab70

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions.

stale[bot] avatar Sep 27 '19 18:09 stale[bot]

This issue is being automatically closed due to inactivity.

stale[bot] avatar Oct 11 '19 19:10 stale[bot]