k8ssandra / k8ssandra-operator

The Kubernetes operator for K8ssandra
https://k8ssandra.io/
Apache License 2.0
174 stars 79 forks source link

k8ssandra-operator Chart doesn't disbale cert-manager #1359

Open QuinnBast opened 5 months ago

QuinnBast commented 5 months ago

What happened?

When deploying the k8ssandra operator, it errors that the cass-operator webhooks require cert-manager to be installed. I don't have cert-manager, but I am unable to configure the k8ssandra operator chart to disable the cert-manager checks.

I have a values.yaml of:

cass-operator:
  admissionWebhooks:
    enabled: false

And installing the cluster with:

helm upgrade --install k8ssandra-operator k8ssandra/k8ssandra-operator --values k8ssandra.yaml --version 1.17.0 -n k8ssandra --create-namespace

Output is:

$ helm upgrade --install k8ssandra-operator k8ssandra/k8ssandra-operator --values k8ssandra.yaml --version 1.17.0 -n k8ssandra --create-namespace
Release "k8ssandra-operator" does not exist. Installing it now.
Error: unable to build kubernetes objects from release manifest: [resource mapping not found for name: "k8ssandra-operator-serving-cert" namespace: "" from "": no matches for kind "Certificate" in version "cert-manager.io/v1"
ensure CRDs are installed first, resource mapping not found for name: "k8ssandra-operator-selfsigned-issuer" namespace: "" from "": no matches for kind "Issuer" in version "cert-manager.io/v1"
ensure CRDs are installed first]

┆Issue is synchronized with this Jira Story by Unito ┆Issue Number: K8OP-13