gimlet-io / capacitor

A general purpose UI for FluxCD.
Apache License 2.0
476 stars 13 forks source link

Vanilla installation errors with helmrelease resources not supported #60

Closed trahim closed 4 months ago

trahim commented 4 months ago

Hi I am having issues installing this as a poc in our cluster. Seems to struggle with being able to get helmreleases. I'm installing via helm in a different namespace to flux-system my version of flux is v2.0.1 are there any compatibility issues with the version of flux I have installed?

The error I am getting on the pod is helmreleases.helm.toolkit.fluxcd.io is not supported on this cluster: the server could not find the requested resource and in the JS console I get Uncaught TypeError: Cannot read properties of undefined (reading '0') at sr (Service.jsx:30:36). This feels like compatibility issue to me but would be good to confirm, what minimum version of flux I would need.

Thanks

trahim commented 4 months ago

I've seen this is an issue with the api version changing. Is there any plans to make this backward compatible?

laszlocph commented 4 months ago

Right, we require Flux v2.2

since this commit: https://github.com/gimlet-io/capacitor/commit/55cbb802fdcef1a6838c5c4904195bc5be1963bb

We could revert it, the only downside is that deprecated warnings will be displayed in the capacitor log.

trahim commented 4 months ago

Thanks the latest commit on main gets me past this but getting the same issue as https://github.com/gimlet-io/capacitor/issues/61