cloudfoundry-incubator / kubecf

Cloud Foundry on Kubernetes
Apache License 2.0
115 stars 62 forks source link

Unable to push testapp because of wrong configured ssh service #1693

Open christiancloudical opened 3 years ago

christiancloudical commented 3 years ago

Describe the bug cf operator and kubecf are installed via helm with eirini enabled in version 2.7.12 and the installation itself works without any issues. After installation, I do a login to cf, create space and user and target that.

with that testapp: git clone https://github.com/cloudfoundry-samples/test-app.git I try to do a cf push, which works until

Staging app and tracing logs...

That one stucks on a batchjob:

kubectl describe -n eirini jobs.batch test-app-christian
  ----     ------        ----              ----            -------
  Warning  FailedCreate  8s (x2 over 18s)  job-controller  Error creating: Internal error occurred: failed calling webhook "0.eirini-ssh.org": Post "https://eirinix-ssh.kubecf.svc:443/0?timeout=30s": no service port 443 found for service "eirinix-ssh"

But that svc is not configured for listening on 443, when I manually set the serviceport to 443, it is failing because of unknown ca for sure

kubectl get svc -n kubecf eirinix-ssh
NAME          TYPE        CLUSTER-IP     EXTERNAL-IP   PORT(S)    AGE
eirinix-ssh   ClusterIP   172.31.3.181   <none>        2999/TCP   38m

To Reproduce Install cf operator and kubecf with latest release and eirini enabled

Expected behavior cf push should work

Environment

If you need more detailed information, let me know how I can help out.

Greetings,

Christian