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

chore(kuma-cp) rename 'kumactl generate dataplane-token' CLI arg #1206

Merged
merged 2 commits into from
Nov 26, 2020

Conversation

lobkovilya
Copy link
Contributor

Signed-off-by: Ilya Lobkov [email protected]

Summary

rename --dataplane to --name

@lobkovilya lobkovilya requested a review from a team as a code owner November 24, 2020 14:29
@@ -13,7 +13,8 @@ type generateDataplaneTokenContext struct {
*kumactl_cmd.RootContext

args struct {
dataplane string
dataplane string // Deprecated: remove in next major version of Kuma 1.1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have to find a way to track these deprecations. Either we have a fixed tag, like Deprecated: or we track in a dedicated doc.

@jakubdyszkiewicz
Copy link
Contributor

Make sure to update docs

Copy link
Contributor

@nickolaev nickolaev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please provide a link to the updated docs in the PR descripton.

@lobkovilya
Copy link
Contributor Author

That's weird, I looked through all documentation, but it's already correct:

kumactl generate dataplane-token \
  --name dp-echo-1 \
  --mesh default \
  --tag kuma.io/service=backend,backend-admin > /tmp/kuma-dp-echo1-token

@lobkovilya lobkovilya merged commit d3192ce into master Nov 26, 2020
@lobkovilya lobkovilya deleted the chore/rename-generate-cli branch November 26, 2020 14:54
mergify bot pushed a commit that referenced this pull request Nov 26, 2020
nickolaev pushed a commit that referenced this pull request Nov 27, 2020
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 this pull request may close these issues.

3 participants