kubewarden / kubewarden-end-to-end-tests

Files used to run Kubewarden end-to-end tests
https://kubewarden.io
Apache License 2.0
2 stars 6 forks source link

Use newer k3s version to prevent EOF bug #51

Closed kravciak closed 1 year ago

kravciak commented 1 year ago

Bug description https://github.com/k3s-io/k3s/issues/5835

It should fix EOF errors e2e tests:

# Error: UPGRADE FAILED: cannot patch "no-privilege-escalation" with kind ClusterAdmissionPolicy: Internal error occurred: failed calling webhook "vclusteradmissionpolicy.kb.io": failed to call webhook: Post "https://kubewarden-controller-webhook-service.kubewarden.svc:443/validate-policies-kubewarden-io-v1-clusteradmissionpolicy?timeout=10s": EOF

# Error: UPGRADE FAILED: cannot patch "kubewarden-controller-serving-cert" with kind Certificate: Internal error occurred: failed calling webhook "webhook.cert-manager.io": failed to call webhook: Post "https://cert-manager-webhook.cert-manager.svc:443/validate?timeout=10s": EOF

# Error from server (InternalError): Internal error occurred: failed calling webhook "clusterwide-privileged-pods.kubewarden.admission": failed to call webhook: Post "https://policy-server-default.kubewarden.svc:8443/validate/clusterwide-privileged-pods?timeout=10s": EOF