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

Feature Request - Update old API versions automatically #4792

Open
1 task done
vikas027 opened this issue May 15, 2024 · 0 comments
Open
1 task done

Feature Request - Update old API versions automatically #4792

vikas027 opened this issue May 15, 2024 · 0 comments

Comments

@vikas027
Copy link

Describe the bug

Feature Request

I have just used flux cli to upgrade from v2.2.3 to v2.3.0. I have noticed that the new API versions (in the CRDs) are not updated along with the flux components.

It will be good if we can update the same, maybe make it optional with a flag to start with?

Steps to reproduce

  1. Install the old version of flux
  2. Update to a new version as shown in the documentation.

Expected behavior

N/A

Screenshots and recordings

image

OS / Distro

MacOS 13.1

Flux version

v2.3.0

Flux check

❯ flux check
► checking prerequisites
✔ Kubernetes 1.28.5 >=1.28.0-0
► checking version in cluster
✔ distribution: flux-v2.2.3
✔ bootstrapped: true
► checking controllers
✔ helm-controller: deployment ready
► ghcr.io/fluxcd/helm-controller:v0.37.4
✔ image-automation-controller: deployment ready
► ghcr.io/fluxcd/image-automation-controller:v0.37.1
✔ image-reflector-controller: deployment ready
► ghcr.io/fluxcd/image-reflector-controller:v0.31.2
✔ kustomize-controller: deployment ready
► ghcr.io/fluxcd/kustomize-controller:v1.2.2
✔ notification-controller: deployment ready
► ghcr.io/fluxcd/notification-controller:v1.2.4
✔ source-controller: deployment ready
► ghcr.io/fluxcd/source-controller:v1.2.4
► checking crds
✔ alerts.notification.toolkit.fluxcd.io/v1beta3
✔ buckets.source.toolkit.fluxcd.io/v1beta2
✔ gitrepositories.source.toolkit.fluxcd.io/v1
✔ helmcharts.source.toolkit.fluxcd.io/v1beta2
✔ helmreleases.helm.toolkit.fluxcd.io/v2beta2
✔ helmrepositories.source.toolkit.fluxcd.io/v1beta2
✔ imagepolicies.image.toolkit.fluxcd.io/v1beta2
✔ imagerepositories.image.toolkit.fluxcd.io/v1beta2
✔ imageupdateautomations.image.toolkit.fluxcd.io/v1beta1
✔ kustomizations.kustomize.toolkit.fluxcd.io/v1
✔ ocirepositories.source.toolkit.fluxcd.io/v1beta2
✔ providers.notification.toolkit.fluxcd.io/v1beta3
✔ receivers.notification.toolkit.fluxcd.io/v1
✔ all checks passed

Git provider

GitHub

Container Registry provider

DockerHub

Additional context

To use the new API versions in the CRDs, I have just updated it manually.

For example, I have updated source.toolkit.fluxcd.io/v1beta2 to source.toolkit.fluxcd.io/v1

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant