pelotech / drone-helm3

Plugin for drone to deploy helm charts using helm3
Apache License 2.0
31 stars 36 forks source link

add_repo doesn't doing repo update? #81

Closed tazhate closed 4 years ago

tazhate commented 4 years ago

I'm trying to install chart from repo, but don't get any success.

    image: pelotech/drone-helm3
    add_repos: repo=https://REPOURL
    settings:
      helm_command: upgrade
      chart: repo/test
      release: test
      api_server:
        from_secret: KUBERNETES_SERVICE_HOST
      kubernetes_token:
        from_secret: KUBE_TOKEN

error:

Error: repo repo not found

josmo commented 4 years ago

add_repos is going to need to go in settings: not at the image: level. Any plugin specific item like that needs to be in settings or environment :) I'll close this issue out, but if you still have an issue feel free to reopen

ie

  image: blah
  settings:
    add_repos: stuff