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

Publish helm chart as release asset #2189

Merged
merged 1 commit into from
Jun 7, 2022

Conversation

ddelange
Copy link
Contributor

@ddelange ddelange commented May 20, 2022

What this PR does / why we need it:

Allow installing the helm chart without the user having to clone, nor kserve having to set up a helm repository.

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 #2188

Type of changes
Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Feature/Issue validation/testing:

Please describe the tests that you ran to verify your changes and relevent result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.

Special notes for your reviewer:

  1. Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

  • Have you added unit/e2e tests that prove your fix is effective or that this feature works?
  • Has code been commented, particularly in hard-to-understand areas?
  • Have you made corresponding changes to the documentation?

Release note:

The kserve helm chart has moved to `charts/kserve` and is now packaged and uploaded as a GitHub release asset for every (pre)release. Its URL can be directly passed to the `helm install` command.

@aws-kf-ci-bot
Copy link
Contributor

Hi @ddelange. Thanks for your PR.

I'm waiting for a kserve member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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/test-infra repository.

@ddelange ddelange changed the title Publish helm chart Publish helm chart as release asset May 20, 2022
@ddelange ddelange force-pushed the publish-helm-chart branch 2 times, most recently from 18ebc70 to ae47c34 Compare May 20, 2022 14:05
@yuzisun
Copy link
Member

yuzisun commented May 21, 2022

@ddelange Thanks for the work with helm! My question is that currently crd is part of one helm chart, as far as I know when we upgrade the chart helm does not update the crd if anything is changed in this case. Should we create a separate chart for crd as helm recommended?

@ddelange
Copy link
Contributor Author

Oh interesting, I didn't know! I'm guessing that can be a separate issue, this workflow will attempt to helm package any folder under the charts/ path and uploads the archives as separate release assets.

@ddelange
Copy link
Contributor Author

Indeed looks like istio also splits it up! https://istio.io/latest/docs/setup/install/helm/#installation-steps

@yuzisun
Copy link
Member

yuzisun commented May 22, 2022

Indeed looks like istio also splits it up! https://istio.io/latest/docs/setup/install/helm/#installation-steps

yes let's split the crd out then.

@ddelange
Copy link
Contributor Author

I can give it a shot. Should it be a separate PR? If yes, should it be merged before this one?

@yuzisun
Copy link
Member

yuzisun commented May 27, 2022

I can give it a shot. Should it be a separate PR? If yes, should it be merged before this one?

Yes we can merge this one first, thanks!

@ddelange
Copy link
Contributor Author

@yuzisun I rebased my commit on latest master, in the hope that the flakey (?) test will pass this time 🤞

@ddelange
Copy link
Contributor Author

ddelange commented Jun 2, 2022

@yuzisun could you trigger CI for this PR?

@yuzisun
Copy link
Member

yuzisun commented Jun 4, 2022

/ok-to-test

@yuzisun
Copy link
Member

yuzisun commented Jun 4, 2022

@yuzisun could you trigger CI for this PR?

@ddelange done, can you help rebase and resolve the conflict ?

Signed-off-by: ddelange <14880945+ddelange@users.noreply.github.com>
@ddelange
Copy link
Contributor Author

ddelange commented Jun 4, 2022

@yuzisun pushed, there was no conflict according to git :)

@yuzisun
Copy link
Member

yuzisun commented Jun 7, 2022

Thanks @ddelange! will test out this with the 0.9.0-rc0 release.

/lgtm
/approve

@kserve-oss-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ddelange, yuzisun

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

@yuzisun yuzisun merged commit b0cd801 into kserve:master Jun 7, 2022
alexagriffith pushed a commit to alexagriffith/kserve that referenced this pull request Sep 19, 2022
Signed-off-by: ddelange <14880945+ddelange@users.noreply.github.com>
Signed-off-by: alexagriffith <agriffith96@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add packaged helm chart to release assets
4 participants