kudobuilder / kudo

Kubernetes Universal Declarative Operator (KUDO)
https://kudo.dev
Apache License 2.0
1.17k stars 103 forks source link

Upgrade test is flaky #1736

Open alenkacz opened 3 years ago

alenkacz commented 3 years ago

What happened:

https://app.circleci.com/pipelines/github/kudobuilder/kudo/5550/workflows/05b77ccc-9174-4a58-9713-2611aa5bc32c

    logger.go:42: 09:56:27 | cert-manager-detection/6-install-kudo | ✅ installed crds
    logger.go:42: 09:56:27 | cert-manager-detection/6-install-kudo | ✅ installed namespace
    logger.go:42: 09:56:27 | cert-manager-detection/6-install-kudo | ✅ installed service account
    logger.go:42: 09:56:27 | cert-manager-detection/6-install-kudo | error installing: webhook: error when creating resource selfsigned-issuer/kudo-system. Internal error occurred: failed calling webhook "webhook.cert-manager.io": Post "https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=10s": x509: certificate signed by unknown authority
    logger.go:42: 09:56:27 | cert-manager-detection/6-install-kudo | Error: error installing: webhook: error when creating resource selfsigned-issuer/kudo-system. Internal error occurred: failed calling webhook "webhook.cert-manager.io": Post "https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=10s": x509: certificate signed by unknown authority

What you expected to happen:

Not fail

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

alenkacz commented 3 years ago

I think the only way how to be sure it works is to try to create an issue as per https://cert-manager.io/docs/installation/kubernetes/#verifying-the-installation

We could add that somehow to tests or we could add that to kudo init somehow as well. Thoughts? @ANeumann82