Skip to content

v1.12.0

Compare
Choose a tag to compare
@ronaldburns ronaldburns released this 22 Apr 12:41

This package is built upon the official 1.12.0 release.

Implements hcloud for go-discover from hashicorp/go-discover#167 (with fixes)

IMPROVEMENTS:

Hetzner Cloud Auto-join:

provider:       "hcloud"
location:       The Hetzner Cloud datacenter location to filter by (eg. "fsn1")
label_selector: The label selector to filter by
address_type:   "private_v4", "public_v4" or "public_v6", defaults to "private_v4". In the case of private networks, the first one will be used
api_token:      The Hetzner Cloud API token to use, can also be provided by environment variable: HCLOUD_TOKEN
SHELL
$ consul agent -retry-join 'provider=hcloud location=ash label_selector=\"consul=server\" address_type=private_v4 api_token="123456"'
HCL
retry_join = ["provider=hcloud location=ash label_selector=\"consul=server\" address_type=private_v4 api_token=\"123456\""]
JSON
{
  "retry_join": ["provider=hcloud location=ash label_selector=\"consul=server\" address_type=private_v4 api_token=\"123456\""]
}