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

Add .spec.interval in v1beta3 Provider #683

Merged
merged 1 commit into from
Dec 13, 2023
Merged

Conversation

darkowlzz
Copy link
Contributor

For backwards compatibility with v1beta2 Provider, add .spec.interval with deprecation marker.
Interval was an optional field in v1beta2 with internal default. Only the users who had explicitly set intervals would have encountered this incompatibility error after upgrade.

Fixes fluxcd/flux2#4471.

@darkowlzz darkowlzz added area/alerting Alerting related issues and PRs area/api API related issues and pull requests labels Dec 12, 2023
@darkowlzz darkowlzz marked this pull request as ready for review December 13, 2023 09:31
For backwards compatibility with v1beta2 Provider, add .spec.interval
with deprecation marker.
Interval was an optional field in v1beta2 with internal default. Only
the users who had explicitly set intervals would have encountered this
incompatibility error after upgrade.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
@stefanprodan stefanprodan added the backport:release/v1.2.x To be backported to release/v1.2.x label Dec 13, 2023
@darkowlzz darkowlzz merged commit 7834608 into main Dec 13, 2023
7 checks passed
@darkowlzz darkowlzz deleted the v1beta3-provider-interval branch December 13, 2023 09:58
@fluxcdbot
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/alerting Alerting related issues and PRs area/api API related issues and pull requests backport:release/v1.2.x To be backported to release/v1.2.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flux v2.2.0 Provider v1beta3 API is not backwards compatible with v1beta2
4 participants