AKS azure container storage extensions installs own cert-manager as helm dependency.

Kevin-7124d 0 Reputation points
2025-04-02T15:53:25.0466667+00:00

Hi

We have an AKS cluster and want to use azure container storage extension... OpenEBS based storage.

Now we faced the problem, that the extension helm chart installs cert-manager as a dependency but with default configuration and in an old version. We want to use our own cert-manager deployment, which is configured to use workload identity within the DNS01 challenge.

But if we do this, we have two cert-manager deployments side by side, each one wants to be the leader "leaderelection.go:248] attempting to acquire leader lease kube-system/cert-manager-controller..."

Is there a way to disable the dependency while installing the azure container storage extension, or can we somehow configure it at least?

Thanks for your help.

Regards Kevin

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,385 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Arko 2,130 Reputation points Microsoft External Staff
    2025-04-04T15:09:52.27+00:00

    Hello GrandoKevin-7124, the Azure Container Storage extension installs its own cert-manager Helm chart as a dependency and as a result it can cause conflicts when an existing cert-manager is already deployed, especially when both compete for the leader election lease in the kube-system namespace. The Azure CLI automatically enables the ACS extension, which internally uses a Helm chart. Unfortunately, the Helm chart does not expose a documented way to disable the bundled cert-manager dependency. As a result, you get two cert-manager instances, both trying to control the same leader election lock.

    As a workaround you can either patch the ACS-Installed cert-manager or skip ACS and use OpenEBS directly as below-

    helm repo add openebs https://openebs.github.io/charts
    helm repo update
    helm install openebs openebs/openebs \
      --namespace openebs \
      --create-namespace \
      -f custom-values.yaml
    

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.