[BUG] ACStor creates a separate install of Flux? This really messes up short names.
Describe the bug I installed Azure Container Storage extension on my cluster. Upon doing so, I notied HelmCharts, HelmRelease and a few other CRD types broke in my tools. Upon examing the CRDs in my cluster, I discovered there were alternate versions of these!
It looks like they're basically a subset of Flux resources. And the ACStor extension uses a private copy of Flux to manage it's own packages? Okay.... I mean nice reuse?
Except they have overlapping short names.
I think this extension should either just install the real AKS flux extnesion (a dependency), or come up with it's own way of doing this. Or maybe just remove teh short names I guess? But it seems like a lot of stuff to have a totally separate copy of Flux.
To Reproduce Steps to reproduce the behavior:
- Build an AKS Cluster.
- Install Flux.
- Install ACStor.
- Try to get helmreleases
Expected behavior It works.
Screenshots
D:\sweep>kubectl get helmrelease/sweep-env -n sweep-dev1 Error from server (NotFound): helmreleases.helm.installer.acstor.io "sweep-env" not found
I have a lot of scripts that don't fully qualify the Flux names.
- CLI Version [e.g. 3.22]
- Kubernetes version [e.g. 1.24.3]
- CLI Extension version [e.g. 1.7.5] if applicable
- Browser [e.g. chrome, safari] is applicable
Additional context Add any other context about the problem here.
@saurabh0501 can you drive on this ask? Thanks.
tagging @Azure/aks-storage for looking into it.
Hi @wasabii , thank you for flagging this, you are correct. There is now a change in review to rename the embedded Flux CRD short names and singular names to acstor-prefixed values, so they no longer conflict with a standalone flux install. For now, the only workaround is to fully qualify the name in the scripts.
What about using something other than a copy of flux? Seems a bunch of overhead all the other extensions get away without.
The main reason is that ACStor only uses ocirepo and helmrelease components rather than all of flux, so doing this avoids forcing a full flux install onto ever cluster
I mean.... The other extensions... Don't use flux at all.
This issue has been automatically marked as stale because it has not had any activity for 30 days. It will be closed if no further activity occurs within 7 days of this comment. Please review @fhryo-msft, @saurabh0501, @AllenWen-at-Azure.
I am closing this issue as Roger already provided answers. @fhryo-msft please consider the suggestions of "Don't use flux at all" in ACStor in your product roadmap, but that is out of scope for this bug issue.