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

Fix: Make HelmChartTemplate a pointer in .spec.chart #980

Merged
merged 1 commit into from
May 10, 2024

Conversation

souleb
Copy link
Member

@souleb souleb commented May 10, 2024

If implemented, this will omit empty .spec.chart in rendered yamls.

Required for: fluxcd/flux2#4766

If implemented, this will omit empty `.spec.chart` in rendered yamls.

Signed-off-by: Soule BA <[email protected]>
@souleb souleb force-pushed the chartTemplate-as-pointer branch from 133532d to 16b61c6 Compare May 10, 2024 10:45
@stefanprodan stefanprodan added the backport:release/v1.0.x To be backported to release/v1.0.x label May 10, 2024
@stefanprodan stefanprodan changed the title Make chartTemplate a pointer in .spec.chart Fix: Make HelmChartTemplate a pointer in .spec.chart May 10, 2024
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks @souleb

@souleb souleb merged commit bc1219f into main May 10, 2024
7 checks passed
@souleb souleb deleted the chartTemplate-as-pointer branch May 10, 2024 10:58
@fluxcdbot
Copy link
Member

Successfully created backport PR for release/v1.0.x:

@seaneagan
Copy link
Contributor

seaneagan commented May 10, 2024

@souleb @stefanprodan this is a breaking change to the v2beta2 types when using the api go module, just checking if that's something that needs to be documented in the changelog.

@stefanprodan
Copy link
Member

@seaneagan if you need v2beta2 stay on api v0.x. In v1.0.0 we have deprecated v2beta2, no one should use it with this version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:release/v1.0.x To be backported to release/v1.0.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants