Open frimik opened 11 months ago
Hello I have the same issue, did you find a workaround?
Annotations can be added and removed. Although it shouldn't have any effect.
It does have an effect in this case, with this annotation the cert manager cainjector will print the following log in loop
E1016 08:59:10.670334 1 sources.go:106] "unable to fetch associated certificate" err="Certificate.cert-manager.io \"$(CERTIFICATE_NAME_K8S)\" not
found" logger="cert-manager" kind="customresourcedefinition" kind="customresourcedefinition" name="k8ssandraclusters.k8ssandra.io" certificate="$(CERTIF
ICATE_NAMESPACE_K8S)/$(CERTIFICATE_NAME_K8S)"
If the annotation is not needed I can create a quick pr to remove it
The annotation is only used in the Kustomize installation (as that's a kustomize replacement directive), but since the CRD is copied from there it's in the Helm chart also. To remove would require a modification to the prepare-helm-release.sh
to remove it after it was generated. A sed command would probably be enough..
Thanks @burmanm I'll create a PR as soon as I have time
What happened?
After helm install of k8ssandra-operator v1.10.3, the k8ssandraclusters CRD contains the following annotation:
cert-manager.io/inject-ca-from: $(CERTIFICATE_NAMESPACE_K8S)/$(CERTIFICATE_NAME_K8S)
How to reproduce it (as minimally and precisely as possible):
┆Issue is synchronized with this Jira Story by Unito ┆Issue Number: K8OP-60