Skip to content

Commit

Permalink
fix description of deck sync, diff, and validate commands in upgrade …
Browse files Browse the repository at this point in the history
…guide
  • Loading branch information
lena-larionova committed Oct 28, 2022
1 parent d77b0ce commit 16dd4ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/deck/3.0-upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ It assumes that the paths have been correctly transformed, either via Kong migra
`deck diff`, `deck validate` (with `--online` flag only), or `deck sync`
: decK performs a check to ensure all regex routes are correctly prefixed.
If not, the behavior depends on the control plane type:
* Self-managed {{site.base_gateway}} 2.x (`_format_version: 1.1` or earlier): Prints an error and stops the operation.
* Self-managed {{site.base_gateway}} 3.x (`_format_version: 3.0`): Prints a warning and goes ahead with the `diff`, `sync`, or `validate` operation as usual.
* {{site.konnect_short_name}}: Prints a warning and goes ahead with the `diff`, `sync`, or `validate` operation as usual.
The behavior of the command depends on the format version in the declarative configuration file:
* `_format_version: 1.1` or earlier: Prints an error and stops the operation.
* `_format_version: 3.0` with _incorrectly_ prefixed routes: Prints a warning and goes ahead with the `diff`, `sync`, or `validate` operation as usual.
* `_format_version: 3.0` with _correctly_ prefixed routes: Goes ahead with the `diff`, `sync`, or `validate` operation as usual.
`deck convert`
: Includes `--from` and `--to` flags for converting state files between major versions.
Expand Down

0 comments on commit 16dd4ae

Please sign in to comment.