TLS Secret is not generated
Within my cluster, certmanager 0.9.1 was installed via managed apps (now deprecated).
Previously I was involved in migrating almost all services to the "cluster management project" except certmanager and ingress controller.
This morning we realized that Certmanager was no longer able to renew our certificates and so I migrated certmanager to the "cluster management project".
To do this I did a clean install. I therefore eliminated the certmanager and certmanager-crds services through helm3 in gitlab-managed-apps namespace and I proceeded to install version 0.10.1 with the default helmfile of this project.
The installation went well; however when I create a new environment through auto devops with respective namespace (for example "find-search-16135772-review-test-bapqnk") the TLS secret with the certificate inside is not created.
I am not very experienced in kubernetes, much less a certain manager. For this reason I had previously relied on managed apps.
I hope you can help me.
I attach some logs:
INGRESS:
Error getting SSL certificate "find-search-16135772-review-test-bapqnk/review-test-bapqnk-auto-deploy-tls": local SSL certificate find-search-16135772-review-test-bapqnk/review-test-bapqnk-auto-deploy-tls was not found. Using default certificate
CERT MANAGER:
E0719 11:03:45.256753 1 controller.go:159] ingress 'find-search-16135772-review-test-bapqnk/review-test-bapqnk-auto-deploy' in work queue no longer exists
I0719 11:03:45.256765 1 controller.go:135] cert-manager/controller/ingress-shim "level"=0 "msg"="finished processing work item" "key"="find-search-16135772-review-test-bapqnk/review-test-bapqnk-auto-deploy"
I0719 11:05:01.861988 1 controller.go:129] cert-manager/controller/ingress-shim "level"=0 "msg"="syncing item" "key"="find-search-16135772-review-test-bapqnk/review-test-bapqnk-auto-deploy"
I0719 11:05:01.862061 1 controller.go:135] cert-manager/controller/ingress-shim "level"=0 "msg"="finished processing work item" "key"="find-search-16135772-review-test-bapqnk/review-test-bapqnk-auto-deploy"
I0719 11:05:36.466316 1 controller.go:129] cert-manager/controller/ingress-shim "level"=0 "msg"="syncing item" "key"="find-search-16135772-review-test-bapqnk/review-test-bapqnk-auto-deploy"
I0719 11:05:36.466453 1 controller.go:135] cert-manager/controller/ingress-shim "level"=0 "msg"="finished processing work item" "key"="find-search-16135772-review-test-bapqnk/review-test-bapqnk-auto-deploy"
W0719 11:10:42.774644 1 reflector.go:302] pkg/client/informers/externalversions/factory.go:117: watch of *v1alpha1.Issuer ended with: too old resource version: 119174817 (119176956)
WEBHOOK:
I0719 10:59:28.540886 1 secure_serving.go:116] Serving securely on [::]:6443
I0719 10:59:28.652844 1 log.go:172] http: TLS handshake error from 172.31.3.155:40828: remote error: tls: bad certificate
I0719 10:59:28.852451 1 log.go:172] http: TLS handshake error from 172.31.46.239:53484: remote error: tls: bad certificate
I0719 10:59:29.565627 1 log.go:172] http: TLS handshake error from 172.31.46.239:53498: remote error: tls: bad certificate
I0719 10:59:30.452178 1 log.go:172] http: TLS handshake error from 172.31.46.239:53502: remote error: tls: bad certificate
I0719 10:59:30.752116 1 log.go:172] http: TLS handshake error from 172.31.46.239:53504: remote error: tls: bad certificate
I0719 10:59:31.069415 1 log.go:172] http: TLS handshake error from 172.31.46.239:53506: remote error: tls: bad certificate
I0719 10:59:32.888259 1 log.go:172] http: TLS handshake error from 172.31.46.239:53514: remote error: tls: bad certificate
I0719 10:59:33.293516 1 log.go:172] http: TLS handshake error from 172.31.46.239:53518: remote error: tls: bad certificate
I0719 10:59:33.393390 1 log.go:172] http: TLS handshake error from 172.31.46.239:53520: remote error: tls: bad certificate
I0719 10:59:34.475057 1 log.go:172] http: TLS handshake error from 172.31.46.239:53522: remote error: tls: bad certificate
I0719 10:59:38.534195 1 log.go:172] http: TLS handshake error from 172.31.3.155:40868: remote error: tls: bad certificate