-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ryan Cragun <[email protected]>
- Loading branch information
1 parent
180d65d
commit 2af9223
Showing
5 changed files
with
130 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: BUSL-1.1 | ||
|
||
storage "raft" { | ||
path = "/storage/path/raft" | ||
node_id = "raft1" | ||
|
||
retry_join { | ||
"leader_api_addr" = "http://127.0.0.1:8200" | ||
} | ||
retry_join { | ||
"leader_api_addr" = "http://[2001:db8:0:0:0:0:2:1]:8200" | ||
} | ||
retry_join { | ||
"auto_join" = "provider=mdns service=consul domain=2001:db8:0:0:0:0:2:1" | ||
} | ||
retry_join { | ||
"auto_join" = "provider=os tag_key=consul tag_value=server username=foo password=bar auth_url=https://[2001:db8:0:0:0:0:2:1]/auth" | ||
} | ||
retry_join { | ||
"auto_join" = "provider=triton account=testaccount url=https://[2001:db8:0:0:0:0:2:1] key_id=1234 tag_key=consul-role tag_value=server" | ||
} | ||
retry_join { | ||
"auto_join" = "provider=packet auth_token=token project=uuid url=https://[2001:db8:0:0:0:0:2:1] address_type=public_v6" | ||
} | ||
retry_join { | ||
"auto_join" = "provider=vsphere category_name=consul-role tag_name=consul-server host=https://[2001:db8:0:0:0:0:2:1] user=foo password=bar insecure_ssl=false" | ||
} | ||
} | ||
|
||
listener "tcp" { | ||
address = "127.0.0.1:8200" | ||
} | ||
|
||
disable_mlock = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: BUSL-1.1 | ||
|
||
storage "raft" { | ||
path = "/storage/path/raft" | ||
node_id = "raft1" | ||
retry_join = [ | ||
{ "leader_api_addr" = "http://127.0.0.1:8200" }, | ||
{ "leader_api_addr" = "http://[2001:db8:0:0:0:0:2:1]:8200" } | ||
] | ||
retry_join { | ||
"auto_join" = "provider=mdns service=consul domain=2001:db8:0:0:0:0:2:1" | ||
} | ||
retry_join = [ | ||
{ "auto_join" = "provider=os tag_key=consul tag_value=server username=foo password=bar auth_url=https://[2001:db8:0:0:0:0:2:1]/auth" } | ||
] | ||
retry_join { | ||
"auto_join" = "provider=triton account=testaccount url=https://[2001:db8:0:0:0:0:2:1] key_id=1234 tag_key=consul-role tag_value=server" | ||
} | ||
retry_join = [ | ||
{ "auto_join" = "provider=packet auth_token=token project=uuid url=https://[2001:db8:0:0:0:0:2:1] address_type=public_v6" } | ||
] | ||
retry_join { | ||
"auto_join" = "provider=vsphere category_name=consul-role tag_name=consul-server host=https://[2001:db8:0:0:0:0:2:1] user=foo password=bar insecure_ssl=false" | ||
} | ||
} | ||
|
||
listener "tcp" { | ||
address = "127.0.0.1:8200" | ||
} | ||
|
||
disable_mlock = true |