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

Promote Helm APIs to source.toolkit.fluxcd.io/v1 (GA) #1428

Merged
merged 7 commits into from
May 2, 2024
Merged

Conversation

stefanprodan
Copy link
Member

@stefanprodan stefanprodan commented Apr 3, 2024

This PR promotes the HelmRepository and HelmChart APIs from v1beta2 to v1 and removes the following deprecated fields from the HelmChart API:

  • .spec.valuesFile replaced by .spec.valuesFiles

⚠️ The HelmRepository and HelmChart APIs v1beta1 and v1beta2 have been deprecated and will be removed after a period of 6 months.

Part of: fluxcd/flux2#4712

@stefanprodan stefanprodan added area/helm Helm related issues and pull requests area/api API related issues and pull requests labels Apr 3, 2024
@stefanprodan stefanprodan added this to the Helm GA milestone Apr 3, 2024
@stefanprodan stefanprodan changed the title Promote Helm APIs to v1 (GA) Promote Helm APIs to source.toolkit.fluxcd.io/v1 (GA) Apr 9, 2024
@isometry
Copy link
Contributor

Please consider integrating #1447: this is currently a blocker on our adoption of FluxCD, and it would be awesome to see this come with Flux v2.3.0 and the GA of these APIs.

@stefanprodan
Copy link
Member Author

@isometry that PR is taking to long and we can't delay the next release further. We plan to release SC by the end of the week.

@isometry
Copy link
Contributor

Understood. I'll try and get this wrapped up tonight.

@isometry
Copy link
Contributor

@stefanprodan : #1447 is now updated. If you think it's ready… :-)

Signed-off-by: Stefan Prodan <[email protected]>
Signed-off-by: Stefan Prodan <[email protected]>
@stefanprodan stefanprodan marked this pull request as ready for review May 2, 2024 14:02
@stefanprodan stefanprodan requested a review from souleb May 2, 2024 14:02
@@ -50,7 +50,7 @@ import (
"github.com/fluxcd/pkg/runtime/pprof"
"github.com/fluxcd/pkg/runtime/probes"

v1 "github.com/fluxcd/source-controller/api/v1"
"github.com/fluxcd/source-controller/api/v1"
Copy link
Member

Choose a reason for hiding this comment

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

Nit: I feel we should keep calling this sourcev1 to remain consistent across the codebase

@@ -1,5 +1,5 @@
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
apiVersion: source.toolkit.fluxcd.io/v1
Copy link
Member

Choose a reason for hiding this comment

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

what about the other files in config/testdata/git and config/testdata/helmchart-valuesfile?

Copy link
Member Author

Choose a reason for hiding this comment

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

I would leave all of these of on the beta version to ensure backwards comparability. I only bumped the samples who are part of e2e.

internal/controller/helmchart_controller.go Outdated Show resolved Hide resolved
internal/controller/helmchart_controller.go Outdated Show resolved Hide resolved
Signed-off-by: Stefan Prodan <[email protected]>
Copy link
Member

@souleb souleb left a comment

Choose a reason for hiding this comment

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

LGTM!

@stefanprodan stefanprodan merged commit cf750b5 into main May 2, 2024
10 checks passed
@stefanprodan stefanprodan deleted the helm-ga branch May 2, 2024 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api API related issues and pull requests area/helm Helm related issues and pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants