Closed irreleph4nt closed 10 months ago
Thank you for raising this @irreleph4nt ! I'm going to close in favour of #27 since that has a bunch of discussion - any fix for #27 will make sure this builds using go 1.21 (since that's what we're generally using to develop other cert-manager subprojects).
Thanks again!
I have forked this repo to implement a custom solver for desec, but found myself unable to deploy a working instance on my up-to-date Debian system. The issue has been pinpointed as the go version used for implementing the hook, as an updated version will necessitate an update in the Dockerfile as well. The same problem was encountered by another user in #27
Steps to reproduce:
FROM golang:1.21-alpine3.18 AS build_dep
Expected Result:
The hook is deployed and the relevant cert-manager resources are up and running.
Actual Result:
The webhook pod does not start and ends in a CrashLoopBackOff state. Reviewing its logs, the following error shows up:
cert-manager: error executing command" err="error installing APIGroup for solvers: unable to get openapi models: OpenAPIV3 config must not be nil
Outcome:
Developers are forced to use either one of two ugly workarounds: