Grafana plugins fetch .zip from private github repository in helm chart

Hello!

I’ve done the Build a panel plugin | Grafana Plugin Tools guide and created a github repository where the plugin is located.

Is it possible to configure the grafana deployment with helm to fetch the .zip that is created?

I’ve tried myself. And what I’ve found is that it is working as long as the github repository is public, but that is not what I want. Is there a way to add a github token to the plugin request?

The grafana instance installed:

apiVersion: v2
name: argodeploy
version: 1.0.0
description: Grafana dependency chart

dependencies:
  - name: grafana
    version: 7.0.21
    repository: https://grafana.github.io/helm-charts

values.yaml

grafana:
  plugins:
    - https://github.com/monet820/grafana-plugin/releases/download/v0.0.1/someorg-someplugin-panel-0.0.1.zip;someorg-someplugin-panel

  grafana.ini:
    plugins:
      allow_loading_unsigned_plugins: someorg-someplugin-panel

There’s currently no way to do this. You can for example create a step that downloads the file in a known location and then pass the path to grafana for it to install. The path can also be a file path.