Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

if FTC is not same version/group, reject request #802

Merged
merged 1 commit into from May 7, 2019

Conversation

xunpan
Copy link
Contributor

@xunpan xunpan commented Apr 29, 2019

Fixes #743

if FTC exists, ensure that the group and version of the crd that will be generated match what exists (so it can update instead of creating a new one)

If group and version don't match - error.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Apr 29, 2019
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Apr 29, 2019
@marun
Copy link
Contributor

marun commented Apr 29, 2019

Note that the group/version here is for the federated type CRD. As per #804, changing the group/version of the target should be supported as a way of 'upgrading' the API that is targeted in member clusters.

@xunpan
Copy link
Contributor Author

xunpan commented Apr 30, 2019

This is really a code error. I fixed it.

@k8s-ci-robot k8s-ci-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 3, 2019
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 3, 2019
@marun marun self-assigned this May 3, 2019
@marun
Copy link
Contributor

marun commented May 7, 2019

Thank you!

/approve
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label May 7, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: marun, xunpan

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 7, 2019
@k8s-ci-robot k8s-ci-robot merged commit 8c2409c into kubernetes-retired:master May 7, 2019
@xunpan xunpan deleted the quick-return branch May 7, 2019 01:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Attempting to enable federation of an already-enabled type should fail fast
3 participants