Create AddRepo steps when there are repos to add [#26]

This commit is contained in:
Erin Call
2019-12-30 11:57:19 -08:00
parent 22e30fea56
commit 48b6b3f5b3
3 changed files with 96 additions and 2 deletions

View File

@@ -18,7 +18,7 @@ type Config struct {
Command string `envconfig:"HELM_COMMAND"` // Helm command to run
DroneEvent string `envconfig:"DRONE_BUILD_EVENT"` // Drone event that invoked this plugin.
UpdateDependencies bool `split_words:"true"` // Call `helm dependency update` before the main command
Repos []string `envconfig:"HELM_REPOS"` // Call `helm repo add` before the main command
AddRepos []string `envconfig:"HELM_REPOS"` // Call `helm repo add` before the main command
Prefix string `` // Prefix to use when looking up secret env vars
Debug bool `` // Generate debug output and pass --debug to all helm commands
Values string `` // Argument to pass to --set in applicable helm commands