Skip to content

Conversation

@anattapol
Copy link

Summary

When apply a pod, I faced this error.

$ kubectl -n $ns apply -f dev/manifests/pods/bad-name.pod.yaml
Error from server (InternalError): error when creating "dev/manifests/pods/bad-name.pod.yaml": Internal error occurred: failed calling webhook "simple-kubernetes-webhook.acme.com": failed to call webhook: Post "https://simple-kubernetes-webhook.default.svc:443/mutate-pods?timeout=2s": x509: certificate signed by unknown authority (possibly because of "x509: cannot verify signature: insecure algorithm SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)" while trying to verify candidate authority certificate "simple-kubernetes-webhook")

The cert used the insecure algorithm SHA1-RSA.
That will be blocked by crypto/x509. golang/go#41682

Requirements (place an x in each [ ])

The following point can be removed after setting up CI (such as Travis) with coverage reports (such as Codecov)

  • I've written tests to cover the new code and functionality included in this PR.

The following point can be removed after setting up a CLA reporting tool such as cla-assistant.io

@CLAassistant
Copy link

CLAassistant commented Feb 26, 2023

CLA assistant check
All committers have signed the CLA.

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

Successfully merging this pull request may close these issues.

2 participants