hashicorp / hashicorp/consul

Do requirements for `bootstrap_expect` more softer: ignore the option in the client mode

Open
#20,833 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
2d 6h
Merged PRs (30d)
43

Description

#### Feature Description
On this page: https://developer.hashicorp.com/consul/docs/agent/config/cli-flags#_bootstrap_expect
![image](https://github.com/hashicorp/consul/assets/139780495/dd5f62b7-b4f7-4c5d-8622-0fc5d32718ad)

We see that `server = true` is required. To my mind you can ignore this option and issue the warning `bootstrap_expect is ignored, because again was run in client mode`

#### Use Case(s)

This allows to reuse configuration files for agent in client or server mode with minimal changes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.