cloudfoundry / korifi

Cloud Foundry on Kubernetes
Apache License 2.0
318 stars 65 forks source link

Error with kpack webhook when trying to install Korifi #3398

Open ghtb3 opened 3 months ago

ghtb3 commented 3 months ago

Hi, there!

I'm curently trying to install Korifi on a cluster, following the guide provided here on GitHub.

However, even though the kpack installation didnt show any errors, when I run the actual command to install korifi, I get the following error:

helm install korifi https://github.com/cloudfoundry/korifi/releases/download/v0.12.0/korifi-0.12.0.tgz \
    --namespace="$KORIFI_NAMESPACE" \
    --set=generateIngressCertificates=true \
    --set=rootNamespace="$ROOT_NAMESPACE" \
    --set=adminUserName="$ADMIN_USERNAME" \
    --set=api.apiServer.url="api.$BASE_DOMAIN" \
    --set=defaultAppDomainName="apps.$BASE_DOMAIN" \
    --set=containerRepositoryPrefix=index.docker.io/korifi/ \
    --set=kpackImageBuilder.builderRepository=index.docker.io/korifi/kpack-builder \
    --set=networking.gatewayClass=$GATEWAY_CLASS_NAME \
    --wait
Error: INSTALLATION FAILED: failed to create resource: Internal error occurred: failed calling webhook "defaults.webhook.kpack.io": failed to call webhook: Post "https://kpack-webhook.kpack.svc:443/defaults?timeout=10s": context deadline exceeded

Any ideas? Thanks in advance!

danail-branekov commented 1 month ago

FWIW, we have been discussing this issue on slack: https://cloudfoundry.slack.com/archives/C0297673ASK/p1721402298263779