Open PeteMac88 opened 1 year ago
hello @PeteMac88 i've managed to handle this on my end. here is what i've done:
downloadDashboards:
envFromSecret: "[name of your secret]"
local-dashboard-bitbucket:
url: https://example.com/repository/test-bitbucket.json
bearerToken: $[Name of the env variable that contains your secret token]
and you are good to go :)
i've almost improve the download experience to add more logging and avoid the token to leak in the logs of the init-container, PR opened here: https://github.com/grafana/helm-charts/pull/3350
Hey, in the values file, there is an example of how to provision dashboards for private repos by inserting a token into the values e.g.
I there a possibility to provide the bearerToken as a secret because I do not want to commit this info into our gitops repo?