I added this part in values.yaml to enable Grafana ingress, but I received that error
PS C:\openebs-monitoring\monitoring\deploy\charts> helm --kube-context cluster114 install monitoring .
Error: INSTALLATION FAILED: template: openebs-monitoring/templates/NOTES.txt:12:12: executing "openebs-monitoring/templates/NOTES.txt" at <.paths>: can't evaluate field paths in type interface {}
PS C:\openebs-monitoring\monitoring\deploy\charts>
here my modification in values.yaml
...
grafana.ini:
## If you have Ingress, you need to change the root_url to match ingress path
server:
root_url: http://localhost:3000/grafana
....
ingress:
## If true, Grafana Ingress will be created
##
enabled: true
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/rewrite-target: /$2
path: /grafana(/|$)(.*)
hosts:
- default.dynamic.cluster114.local
but if I don't specify the hosts, It will pass
ingress:
## If true, Grafana Ingress will be created
##
enabled: true
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/rewrite-target: /$2
path: /grafana(/|$)(.*)
#hosts:
# - default.dynamic.cluster114.local
PS C:\openebs-monitoring\monitoring\deploy\charts> helm --kube-context cluster114 install monitoring .
NAME: monitoring
LAST DEPLOYED: Fri Oct 15 13:38:52 2021
NAMESPACE: default
STATUS: deployed
REVISION: 1
NOTES:
OpenEBS monitoring has been installed.
Check its status by running:
$ kubectl get pods -n default -o wide
Use `kubectl get svc -n default` to list all the
services in the `default` namespace.
To access the dashboards, form the Grafana URL and open it in the browser
For more information, visit our Slack at https://openebs.io/community
I added this part in values.yaml to enable Grafana ingress, but I received that error
here my modification in values.yaml
but if I don't specify the hosts, It will pass
here the ingress yaml generated
here a example of a ingress generated with a host