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

[v22.3.x] rpk: do not modify redpanda.rpc_server_tls field #9365

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #7719
Fixes #9364,

@vbotbuildovich vbotbuildovich added this to the v22.3.x-next milestone Mar 10, 2023
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Mar 10, 2023
@twmb twmb marked this pull request as ready for review March 10, 2023 00:53
@twmb twmb requested review from twmb and r-vasquez as code owners March 10, 2023 00:53
Normal use case for starting with rpk is to _not_
use the standard setup from RedpandaTest class so
we need to cleanup the node before starting.

(cherry picked from commit 834c615)
rpk now will treat this field like an unmanaged
field, which means that we can have either a list,
or an element, and rpk will respect that.

(cherry picked from commit e7e14ae)
These test cover normal scenarios that users
might face when migrating to this new version:

1. Enabling TLS from 0
2. Enabling TLS after a cluster is created
3. No knowing that they have the wrong TLS config

(cherry picked from commit d99bad7)
If the rpc_tls_server config is a list rpk will
do a TLS config validation and print a warning if
the config is invalid.

(cherry picked from commit 3dfa1d2)
@r-vasquez r-vasquez force-pushed the backport-7644-v22.3.x-373 branch from f4817e7 to a2fb241 Compare March 10, 2023 02:36
@r-vasquez
Copy link
Contributor

r-vasquez commented Mar 10, 2023

Had to force push to add f3637f9 (cherry-picked from 834c615) since the new rpc_tls test uses a new parameter introduced in this commit

For tests that want to know "did node X log message Y" rather
than just "was message Y logged anywhere"
@r-vasquez r-vasquez merged commit 84b1963 into redpanda-data:v22.3.x Mar 10, 2023
@vshtokman vshtokman modified the milestones: v22.3.x-next, v22.3.14 Mar 10, 2023
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.

5 participants