mirror of https://github.com/hashicorp/consul
aa21b12321
The `grep` command used to obtain the ID for the terminating gateway role is not reliable in all scenarios. For example, if there is a similarly named role, the command may return the wrong role ID for the active terminating gateway instance. This commit updates the command to use jq to obtain the role ID. If multiple roles are found, jq will raise an error informing the user that it cannot reliably determine the role ID. |
||
---|---|---|
.. | ||
api-docs | ||
commands | ||
docs | ||
partials | ||
security.mdx |