Grafana Configuration with TLS

Grafana in Kloudfuse requires configuration updates when TLS and a DNS hostname are enabled. You must merge the default Grafana configuration with your settings to include the correct hostname. If your configuration file lacks a Grafana section, you can add the required content to establish proper TLS communication.

Update the default Grafana configuration in the custom_values.yaml file by merging it with the root_url with the DNS host name.

grafana:
  replicas: 1
  grafana.ini:
    server:
    # Update this value if TLS is enabled
    root_url: "https://<REPLACE DNS HOST HERE>/grafana"
    smtp:
    ...
  envValueFrom:
  ...
yaml

If your custom-values.yaml file does not include a Grafana section, add the following content:

# grafana - Configuration for the embedded Grafana included in Kloudfuse
grafana:
  # grafana.ini - Grafana server configuration settings
  grafana.ini:
    server:
    # Update this value if TLS is enabled
      root_url: "https://<REPLACE DNS HOST HERE>/grafana"
      serve_from_sub_path: true
yaml