Creating service account token during grafana's container first startup


Currently we have hosted multiple instances of grafana in a single cluster and would like to create service account token when we are onboarding new teams or when new grafana instance is onboarded so that I can use that token to provision dashboards, alerts, datasources and all. can someone please let me know the approach that I can follow. (Please not we have disabled Login Form and only SSO login approach is applicable)


I’m looking for a solution too. Currently we run just one Grafana in a kubernetes cluster but due to configmaps being reloaded, Grafana also gets deployed multiple times during a day. So if a serviceaccount and token could be added to the Grafana configuration from startup, that would be really great.