weaveworks / weave-gitops

Weave GitOps provides insights into your application deployments, and makes continuous delivery with GitOps easier to adopt and scale across your teams.
https://docs.gitops.weave.works/
Apache License 2.0
918 stars 153 forks source link

Support for HelmRelease v2beta2 (flux 2.2.0) #4165

Open foot opened 10 months ago

foot commented 10 months ago

In Flux 2.2.0 .status.lastReleaseRevision will be deprecated and no longer populated.

The code in weave-gitops should be adapted as in flux:

Anticipated behaviour:

bigkevmcd commented 10 months ago

We need to figure out what fields we use, and where they've gone.

We also want to continue to support the existing version, and the new(er) versions, we want to avoid another version break.

stefanprodan commented 10 months ago

To support both versions, WG can look at the CRD version (this is already fetched in the Flux controllers page), based on the API version the query logic should use:

hiddeco commented 10 months ago

The deprecation notices in the v2beta2 API should actually tell you where to look for values, as will they correctly indicate fields have been deprecated in the more intelligent IDEs.