Upgrade the helm controller version to v2

Currently, the code is relying on the v2beta1 version of the helm-controller lib. However

  • The sylva cli is relying on v2 version. See
>  k get crd helmreleases.helm.toolkit.fluxcd.io -o yaml | yq .spec.versions | grep v2

name: v2
deprecationWarning: v2beta1 HelmRelease is deprecated, upgrade to v2
name: v2beta1
  Note: this field is provisional to the v2 API, and not actively used
  by v2beta1 HelmReleases.
deprecationWarning: v2beta2 HelmRelease is deprecated, upgrade to v2
name: v2beta2
  Note: this field is provisional to the v2 API, and not actively used
  by v2beta2 HelmReleases.
  • The v2beta1 version is v0.37.4, which is more than a year old.

Therefore, the purpose of this issue is to upgrade the lib to the most recent one. In addition, upgrade accordingly the crd file for testing like !234 (closed)

Assignee Loading
Time tracking Loading