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

Helmv3 migration of the chart #1260

Merged
merged 67 commits into from
Aug 13, 2020
Merged

Conversation

eumel8
Copy link
Contributor

@eumel8 eumel8 commented Jul 29, 2020

What this PR does / why we need it:

Helmv3 is out for a while. Time to migrate the chart to v3. Adjust syntax/docs, move CRDs to specific folders without templating.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1234

Special notes for your reviewer:

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 29, 2020
@k8s-ci-robot
Copy link
Contributor

Welcome @eumel8!

It looks like this is your first PR to kubernetes-sigs/kubefed 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes-sigs/kubefed has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 29, 2020
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 29, 2020
Copy link
Contributor

@alejandroEsc alejandroEsc left a comment

Choose a reason for hiding this comment

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

Awesome first pass, thank you so much for doing this. Could you please place the output of an install using your chart?

Have the maintainers considered deprecating and adding a deprecation warning etc.. on the previous chart? Creating a new version of the chart for v3? Just wondering what is the phasing out plan exactly or are we taking a hardline approach? Other repos seem to consider having a transition period between helm versions, ala velero for example.

Finally the tests seem to timed out?

scripts/delete-kubefed.sh Outdated Show resolved Hide resolved
scripts/deploy-kubefed.sh Outdated Show resolved Hide resolved
charts/kubefed/README.md Outdated Show resolved Hide resolved
scripts/sync-up-helm-chart.sh Outdated Show resolved Hide resolved
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 5, 2020
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 5, 2020
@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 5, 2020
@eumel8
Copy link
Contributor Author

eumel8 commented Aug 10, 2020

@jimmidyson I know ;) There is nothing worth to skip squash messages. Summary highlights would be:

  • Helm v3 introduction of KubeFed chart
  • Migration guide Helm v2 to Helm v3
  • CI/CD adaption for KubeFed

I'v just realized today there is a KubeFed Operator on start. I wouldn't have made a Helm v3 migration if I had known it before ;)

@jimmidyson
Copy link
Contributor

@eumel8 Ooo a kubefed operator? I've not seen that - can you share any links please?

@eumel8
Copy link
Contributor Author

eumel8 commented Aug 11, 2020

@jimmidyson sure: https://github.com/openshift/kubefed-operator
But it's only Level 1 and I'm not sure if it's still in active developement.

@jimmidyson
Copy link
Contributor

@eumel8 AFAIK openshift isn't planning on using kubefed any more so I guess that's not maintained (and looking at commit log that looks right).

@alejandroEsc
Copy link
Contributor

eta on this?

@jimmidyson
Copy link
Contributor

The commit history makes it harder to review because the diffs include stuff that is already merged to master. I'm reviewing locally now.

Copy link
Contributor

@jimmidyson jimmidyson left a comment

Choose a reason for hiding this comment

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

I've tested this out locally and all works great - thank you!

Just a final couple of tidy up things and we're good to merge.

scripts/delete-kubefed.sh Outdated Show resolved Hide resolved
scripts/deploy-kubefed.sh Outdated Show resolved Hide resolved
charts/kubefed/README.md Outdated Show resolved Hide resolved
scripts/delete-kubefed.sh Outdated Show resolved Hide resolved
scripts/download-binaries.sh Outdated Show resolved Hide resolved
scripts/pre-commit.sh Outdated Show resolved Hide resolved
scripts/sync-up-helm-chart.sh Outdated Show resolved Hide resolved
eumel8 and others added 6 commits August 12, 2020 13:05
@jimmidyson
Copy link
Contributor

@eumel8 I'm going to push a commit for the suggestion in #1260 (comment) - hope you don't mind. Then we can merge when green.

@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Aug 13, 2020
@jimmidyson
Copy link
Contributor

/approve
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 13, 2020
@jimmidyson
Copy link
Contributor

Thank you @eumel8!

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: eumel8, jimmidyson

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 Aug 13, 2020
@jimmidyson
Copy link
Contributor

Also thank you to @alejandroEsc and @wangkai1994 for your review approvals - really helpful to have other sets of eyes on PRs.

@k8s-ci-robot k8s-ci-robot merged commit 79cb7e2 into kubernetes-retired:master Aug 13, 2020
@jimmidyson
Copy link
Contributor

OK I messed up squashing this PR on merge 😢. Sorry again...

@RainbowMango
Copy link
Contributor

Wow!

@ghost
Copy link

ghost commented Aug 14, 2020

Thanks @eumel8

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/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for deploying kubefed with Helm3
6 participants