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

Translate v2 requests into v3 ClusterMemberAttrSetRequest and ClusterVersionSetRequest #17008

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

serathius
Copy link
Member

@serathius serathius commented Nov 23, 2023

From membership.Cluster perspective they are the same request, just using different path.

I remembered that v3 code does through authorization verification, so I have double checked that ClusterMemberAttrSet and ClusterVersionSet request don't require admin permissions as they are internal requests (not available via API). This means that this change will work even if authorization is enabled.

@k8s-ci-robot
Copy link

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@serathius
Copy link
Member Author

@serathius
Copy link
Member Author

/retest

@ahrtr
Copy link
Member

ahrtr commented Nov 23, 2023

You are working on #12913 PR by PR.
Can you provide a doc to summarize the plan so that all of us are on the same page on the overall picture? Or enhance the @ geesta 's doc?

  • What you are going to do in 3.6?
  • What you are planing to do in 3.7?

@serathius
Copy link
Member Author

serathius commented Nov 24, 2023

Plan was established long time ago in the top comment of #12913

On high level the plan is to clean up apply code until we can easily switch to membership information to v3. The main way to achieve that is by no longer applying any entries older than consistent index.

@ahrtr
Copy link
Member

ahrtr commented Nov 24, 2023

We need a detailed plan. No fancy documentation required, just provide a list of PRs you are going to do, and the purpose and simple description for each PR.

The task has existed for more than 2 years, and multiple people worked on it. Please don't expect everyone to keep all the context/details in mind at all times.

@serathius
Copy link
Member Author

serathius commented Nov 24, 2023

Plan:

@ahrtr
Copy link
Member

ahrtr commented Nov 27, 2023

Will revisit this PR after #17015 is merged, and this PR is rebased.

Copy link
Member

@ahrtr ahrtr left a comment

Choose a reason for hiding this comment

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

LGTM

Please rebase this PR and wait for workflow green before merging

@serathius
Copy link
Member Author

Please rebase this PR and wait for workflow green before merging

Done

…VersionSetRequest

Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
@serathius
Copy link
Member Author

/retest

@serathius
Copy link
Member Author

Will want to add some additional e2e test to avoid breaking things.

@serathius
Copy link
Member Author

/retest

@k8s-ci-robot
Copy link

k8s-ci-robot commented Dec 7, 2023

@serathius: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-etcd-unit-test efae7e7 link true /test pull-etcd-unit-test

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Copy link
Member

@fuweid fuweid left a comment

Choose a reason for hiding this comment

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

LGTM

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

Successfully merging this pull request may close these issues.

4 participants