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
In the above YAML file, set "host: grafana.ssp.example.com" instead of 'hostname: grafana.ssp.example.com' to solve the issue.