Closed belinda-liu closed 3 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/175102096
The labels on this github issue will be updated when the story is started.
This will also require some changes on capi-k8s-release to re-introduce config related to that OAuth client (specifically its ID and its client secret) since we recently removed what we presumed to be unused config: https://github.com/cloudfoundry/capi-k8s-release/commit/fe240bd4be20edbb40358e64bba699babe32c3f0
Thanks @belinda-liu for reporting this. We have a related story prioritized/in-flight and we'll circle back on your issue here once we finish that story and have a better idea of the landscape. (Enable at least 1 services suites CATs test)
This now works as long as you've configured your service broker is running with real trusted certs.
Describe the bug
When creating a service broker on a cf-for-k8s environment, the command will fail with an "Unknown Error".
To Reproduce*
test-app
cf create-service-broker 'test-app' <username> <password> <test-app-route>
Looking at the
cf-api-worker
logs:Expected behavior
The command should succeed.
Additional context
After chatting with some folks on CAKE (CAPI for k8s), they pointed out that
cf-for-k8s
does not bootstrap with thecc-service-dashboards
UAA client, which is required for this command. This was previously provided incf-deployment
(see https://github.com/cloudfoundry/cf-deployment/blob/3ba20341c7431ace178f8b12d44c470738db1326/cf-deployment.yml#L685-L689).cf-for-k8s SHA
221ac187883e3ffd4e456705fbbe738f577b2338
Deploy instructions
This was deployed via TAS.
Cluster information
GCP
CLI versions
Fails on both v6 and v7 cf CLI.
ytt --version
: 0.30.0kapp --version
: 0.33.0kubectl version
: Client Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.6-beta.0", GitCommit:"e7f962ba86f4ce7033828210ca3556393c377bcc", GitTreeState:"clean", BuildDate:"2020-01-15T08:26:26Z", GoVersion:"go1.13.5", Compiler:"gc", Platform:"darwin/amd64"} Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.8+vmware.1", GitCommit:"3cbbcf0977af5f3cf455115d060b081f2b8e2329", GitTreeState:"clean", BuildDate:"2020-06-29T22:33:24Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}cf version
: cf version 7.0.2+17b4eeafd.2020-07-24Thanks! @belinda-liu && @reid47