ipedrazas / drone-helm

Helm (Kubernetes) plugin for drone.io
MIT License
120 stars 90 forks source link

add missing k8s cli flags #105

Closed colinhoglund closed 3 years ago

colinhoglund commented 4 years ago

This adds support for api_server and kubernetes_token CLI flags so that they can be passed as drone step settings. I tested this successfully in legacy and v1 pipeline syntax.

colinhoglund commented 4 years ago

I'm just getting familiarized with the new syntax. Could you please show an example of how this is used in a pipeline?

  - name: deploy
    image: quay.io/mongodb/drone-helm:v2
    settings:
      ...
      api_server: https://api.test.example.com
      kubernetes_token:
        from_secret: test_kubernetes_token
      ...