March 15, 2021

Microk8s cert-manager issue

After migrating my server, microk8s had been updated, as well as cert-manager. This gave some errors:

"msg"="propagation check failed" "error"="wrong status code '404', expected '200'"

Initially I thought the issue was between a version mismatch, but when my nginx based service wasn’t working either I found:

kubectl logs -n ingress nginx-ingress-microk8s-controller-*|grep annotation
I0315 15:33:07.280902       6 store.go:363] ignoring add for ingress REDACTED based on annotation with value 
I0315 15:39:55.955968       6 store.go:338] ignoring delete for ingress REDACTED based on annotation

This annotation is mentioned on the ingress page of kubernetes and is mentioned as a deprecated option. However, it is still actively used in cert-manager.

To fix it, see this script.

Blog by