kmorning/cert-manager-webhook-desec

Container desec-webhook in the state: ContainerCreating

Closed this issue · 4 comments

Version k8s: 1.28.2.
Questions:

  1. I used the command "$ sed -i 's/default/yournamespace/g' examples/deploy/desec-webhook.yaml" to change the namespace. I see that the deployment "desec-webhook" is in the default namespace, is that correct?
  2. If I do a pod description I see the following events:
Screenshot 2023-12-23 alle 22 43 36 3) On the dns do I have to create any txt records? does it create them for me automatically? 4) To use cert manager just on the ingress manifest, under spec I apply? tls: - hosts: - bitwarden.acme.example.com secretName: bitwarden-crt

thank you

Of course the secret exists
Screenshot 2023-12-23 alle 22 48 25

I re-launched the deployment on the correct namespace: now I see another error:
Screenshot 2023-12-23 alle 23 17 29
I found this post: https://stackoverflow.com/questions/73285601/docker-exec-usr-bin-sh-exec-format-error

They say the problem is that the image is for x86 while I am running k8s on arm. How can I modify the image to run on arm?

Create a new docker image: lorenzomonta/cert-manager-webhook-desec
The only thing that has changed from before in the dockerfile is the string: "FROM --platform=arm64 golang:1.13-alpine AS build_deps" (before it was: "FROM golang:1.13-alpine AS build_deps").