Open andreas-kupries opened 4 years ago
This is a dup of #839
I think we can have a quarksjob with the wait-for annotation in the pod, but not sure if that would be enough. But at least in this way we don't have to retry until it succeeds
JFYI the setup is now documented here: ~https://kubecf.suse.dev/docs/tutorials/eirini_persi/~ edit: https://kubecf.io/docs/tutorials/eirini_persi/
Describe the bug
Currently, when Eirini is enabled, the
eirini-persi-broker
is started, but not registered as broker with the newly-deployed CF. See https://github.com/cloudfoundry-incubator/kubecf/issues/819#issuecomment-649841863 (Step 6.i) for the operations needed to be done manually at the moment.To Reproduce
Deploy kubecf with eirini enabled, then check with
cf service-brokers
that theeirini-persi-broker
is not listed.Expected behavior
If possible, have the broker register itself with CF when the CF api has become available. I suspect that this requires some kind of post-start script which waits for the CF api first, and then drives it. Or a job/task which repeats until it succeeds.