I need to update grafana.ini file which has read/write permission for root. I am logged in via grafana user and don’t know the password for root container . I have installed grafana on kubernetes using helm chart. Below contains rest of the details.
C:\WINDOWS\system32>kubectl exec -it prometheus-grafana-798d5675bf-vf2nb -n monitoring --container grafana – /bin/bash
grafana@prometheus-grafana-798d5675bf-vf2nb:/usr/share/grafana$ cd /etc/grafana/
grafana@prometheus-grafana-798d5675bf-vf2nb:/etc/grafana$ ls -lrth
total 12K
drwxr-xr-x 1 root root 4.0K Nov 13 2018 provisioning
-rw-r–r-- 1 root grafana 235 Dec 10 07:25 grafana.ini
-rw-r–r-- 1 root grafana 0 Dec 10 07:25 ldap.toml
Can somebody let me know how to get the password of root user in grafana container.