Grafana UI reports NGINX error 404 after upgrade in IDSP
search cancel

Grafana UI reports NGINX error 404 after upgrade in IDSP

book

Article ID: 427275

calendar_today

Updated On:

Products

Symantec Identity Security Platform - IDSP (formerly VIP Authentication Hub)

Issue/Introduction

Upgrading Grafana to use the binamilegacy repository, then the Grafana UI returns the error 404 in the browser:

https://grafana.ssp.example.com

404 Not Found
nginx

The Grafana pod has been upgraded with the following command:

# helm upgrade grafana-operator bitnami/grafana-operator -n monitoring -f grafana-values.yaml --version=4.9.37  

grafana-values.yaml:

grafana:
  config:
    security:
      admin_password: prom-operator
  image:
    repository: bitnamilegacy/grafana
  ingress:
    enabled: true
    hostname: grafana.ssp.example.com
    ingressClassName: nginx
    tls: true
    tlsSecret: monitoring-general-tls
  persistence:
    enabled: true
    size: 1Gi
operator:
  containerSecurityContext:
    readOnlyRootFilesystem: true
  image:
    repository: bitnamilegacy/grafana-operator

Resolution

In the above YAML file, set "host: grafana.ssp.example.com" instead of 'hostname: grafana.ssp.example.com' to solve the issue.