Add RANCHER_URL as a valid env var name so it can be fetched from secrets as rancher_url instead of needing to be renamed

This commit is contained in:
Jean-Philippe Roemer
2018-10-22 17:23:01 +01:00
parent ee2fc1628c
commit d2e78c33a8
+1 -1
View File
@@ -25,7 +25,7 @@ func main() {
cli.StringFlag{
Name: "url",
Usage: "url to the rancher api",
EnvVar: "PLUGIN_URL",
EnvVar: "PLUGIN_URL, RANCHER_URL",
},
cli.StringFlag{
Name: "access-key",