Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cert-Manager vs. OpenShift Service serving-cert-secret-name Annotation (1.3.9) #137

Open
vinzent opened this issue Jun 2, 2022 · 6 comments

Comments

@vinzent
Copy link
Contributor

vinzent commented Jun 2, 2022

I've configured enableCertManager=true in my helm values.

I discovered the Service cert-utils-operator-controller-manager-metrics-service has the service.alpha.openshift.io/serving-cert-secret-name: cert-utils-operator-certs annotation.

and additionally the Certificate resource metrics-serving-cert is created which also points to the secret cert-utils-operator-certs.

Now the openshift service-ca controller and Cert-Manager fight to manage the secret.

@vinzent
Copy link
Contributor Author

vinzent commented Jun 2, 2022

I've got 14'000 CertificateRequest resources. 🚀

@raffaelespazzoli
Copy link
Contributor

ok, thanks for reporting this. We expect people using OCP to install via OLM and people using other kube distributions to install via helm. We don't test helm on OCP. thanks for the finding.

@vinzent
Copy link
Contributor Author

vinzent commented Jun 2, 2022

unfortunately, we only have access to Certified and Marketplace operators. but not community operators.

@raffaelespazzoli
Copy link
Contributor

can you use enableCertManager=false ?

@vinzent
Copy link
Contributor Author

vinzent commented Jun 10, 2022

can you use enableCertManager=false ?

The root cause for using enableCertManager=true was that the deployment references a secret webhook-server-cert which is not created without (related: #132)

@whitelion-github
Copy link

Add the same problem. A major one ! It have generated so much certificaterequest that it cause etcd problem (grownth and performance) and make some of our clusters to crash because openshift-kube-apiserver was overhlem.

Need to document helm installation with openshift and set a flag to disable use of service serving certificate in service.

template : v1_service_cert-utils-operator-controller-manager-metrics-service.yaml
Add a test, if .Values.enableCertManager is true, don't add anotation in service (to use service serving certificat)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants