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

[v23.3.x] rpk: fix mixed use of backcompat flags with -X #16351

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #16278
Fixes: #16350,

We were giving priority to old back compatibility
flags (like --user, --password) over the new
configuration (-X) flags. So if a user used both,
the old ones got priority.

This introduced a bug in rpk acl user create
where we have a flag that collides with an old
flag name: --password.

(cherry picked from commit 16835f6)
@vbotbuildovich vbotbuildovich added this to the v23.3.x-next milestone Jan 29, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Jan 29, 2024
@r-vasquez
Copy link
Contributor

@r-vasquez r-vasquez merged commit 9e60db5 into redpanda-data:v23.3.x Jan 29, 2024
24 of 25 checks passed
@piyushredpanda piyushredpanda modified the milestones: v23.3.x-next, v23.3.5 Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/rpk kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants