janeczku / go-rancher-gen

:cow: Generate configuration files using templates and Rancher Metadata
MIT License
32 stars 4 forks source link

Add configurable metadata endpoint #8

Closed rpedde closed 2 years ago

rpedde commented 7 years ago

Useful when testing, or for external services interacting with a proxied metadata endpoint.

In addition, add --metadata-url command line option and RANCHER_GEN_METADATA_URL environment values for overriding the same.