Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No longer use --konnect flag with deck #7950

Closed
2 tasks done
imurata opened this issue Sep 20, 2024 · 2 comments · Fixed by #7954
Closed
2 tasks done

No longer use --konnect flag with deck #7950

imurata opened this issue Sep 20, 2024 · 2 comments · Fixed by #7954

Comments

@imurata
Copy link
Contributor

imurata commented Sep 20, 2024

Where is the problem?

https://docs.konghq.com/deck/latest/guides/konnect/

What happened?

Documenatation shows

You can use decK commands such as ping, diff, or sync with --konnect flags to interact with Konnect.
If you don’t pass a Konnect flag to decK, decK looks for a local Kong Gateway instance instead.

But this flag doesn't work now.

$ deck gateway ping --konnect
Error: unknown flag: --konnect

What did you expect to happen?

You can use decK commands such as ping, diff, or sync with --konnect flags to interact with Konnect.
If you don’t pass a Konnect flag to decK, decK looks for a local Kong Gateway instance instead.

Delete the above text and add the following text in its place

deck provides the following flags when interacting with Konnect.

Code of Conduct and Community Expectations

  • I agree to follow this project's Code of Conduct
  • I agree to abide by the Community Expectations
@lena-larionova
Copy link
Contributor

@imurata Looks like the doc is a bit misleading. There is no --konnect flag, there are --konnect-* flags like --konnect-token, --konnect-control-plane-name, etc. So you need to pass one of those flags (usually --konnect-token). For example, I just tested with this:

deck gateway ping --konnect-token kpat_<my-pat>

Successfully Konnected to the Lenas Test Org 2 organization!

@imurata
Copy link
Contributor Author

imurata commented Sep 22, 2024

ah, it appears to have been misleading.
Understood.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants