AKS icon indicating copy to clipboard operation
AKS copied to clipboard

[BUG] ACStor creates a separate install of Flux? This really messes up short names.

Open wasabii opened this issue 5 months ago • 8 comments

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:

  1. Build an AKS Cluster.
  2. Install Flux.
  3. Install ACStor.
  4. 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.

wasabii avatar Jun 14 '26 00:06 wasabii

@saurabh0501 can you drive on this ask? Thanks.

fhryo-msft avatar Jul 23 '26 08:07 fhryo-msft

tagging @Azure/aks-storage for looking into it.

saurabh0501 avatar Jul 27 '26 20:07 saurabh0501

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.

rnhan avatar Jul 31 '26 20:07 rnhan

What about using something other than a copy of flux? Seems a bunch of overhead all the other extensions get away without.

wasabii avatar Jul 31 '26 20:07 wasabii

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

rnhan avatar Aug 03 '26 14:08 rnhan

I mean.... The other extensions... Don't use flux at all.

wasabii avatar Aug 03 '26 15:08 wasabii

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.

AllenWen-at-Azure avatar Sep 02 '26 20:09 AllenWen-at-Azure