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

Support for the cluster-api v1beta1 version #1029

Merged
merged 2 commits into from
Nov 25, 2021

Conversation

iawia002
Copy link
Member

@iawia002 iawia002 commented Nov 25, 2021

What type of PR is this?

/kind feature

What this PR does / why we need it:

Bump the sigs.k8s.io/cluster-api package to v1.0.1 to support the Cluster v1beta1 version. I have checked the v1beta1 version of the Cluster object, and the cluster phase and secret we need have no breaking changes, this patch should work fine.

ref #594

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

I directly used the constants of the sigs.k8s.io/cluster-api/util/secret package from cluster-api repo instead of our own definition.

Does this PR introduce a user-facing change?:

The cluster discovery feature now supports `v1beta1` of `cluster-api`.

/cc @XiShanYongYe-Chang

@karmada-bot karmada-bot added kind/feature Categorizes issue or PR as related to a new feature. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Nov 25, 2021
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
@iawia002 iawia002 force-pushed the cluster-api-v1beta1 branch from f6d799f to 29f10db Compare November 25, 2021 08:59
@XiShanYongYe-Chang
Copy link
Member

@iawia002 Thanks, it looks great to me.

@iawia002
Copy link
Member Author

/assign @RainbowMango

@XiShanYongYe-Chang
Copy link
Member

/lgtm

@karmada-bot karmada-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 25, 2021
@XiShanYongYe-Chang
Copy link
Member

It works ok on my side. 👍

@RainbowMango
Copy link
Member

/approve

cc @duguhaotian

@karmada-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: RainbowMango

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@karmada-bot karmada-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 25, 2021
@karmada-bot karmada-bot merged commit ba5b44a into karmada-io:master Nov 25, 2021
@iawia002 iawia002 deleted the cluster-api-v1beta1 branch November 26, 2021 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants