Merge pull request #11389 from hashicorp/cli-intentions-docs

docs: added deprecation message to CLI command intentions overview page
This commit is contained in:
mrspanishviking 2021-10-21 10:39:10 -07:00 committed by GitHub
commit 47e91c3832
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -17,6 +17,12 @@ Intentions are managed primarily via
entries after Consul 1.9. Intentions may also be managed via the [HTTP
API](/api/connect/intentions).
~> **Deprecated** - This command is deprecated in Consul 1.9.0 in favor of
using the [config entry CLI command](/commands/config/write). To create an
intention, create or modify a
[`service-intentions`](/docs/connect/config-entries/service-intentions) config
entry for the destination.
## Usage
Usage: `consul intention <subcommand>`