Closed shawn-hurley closed 6 years ago
Service Catalog does not send over extra fields in extra instead it is a top level of the created object.
extra
Actual results:
X-Broker-API-Originating-Identity Header: kubernetes eyJncm91cHMiOlsic3lzdGVtOmF1dGhlbnRpY2F0ZWQ6b2F1dGgiLCJzeXN0ZW06YXV0aGVudGljYXRlZCJdLCJzY29wZXMuYXV0aG9yaXphdGlvbi5vcGVuc2hpZnQuaW8iOlsidXNlcjpmdWxsIiwidXNlcjpsaXN0LXByb2plY3RzIiwidXNlcjppbmZvIiwicm9sZTphZG1pbjpuZXctcHJvamVjdDohIl0sInVpZCI6IiIsInVzZXJuYW1lIjoiZGV2ZWxvcGVyIn0= {"groups":["system:authenticated:oauth","system:authenticated"],"scopes.authorization.openshift.io":["user:full","user:list-projects","user:info","role:admin:new-project:!"],"uid":"","username":"developer"}
Expected results:
eyJncm91cHMiOlsic3lzdGVtOmF1dGhlbnRpY2F0ZWQ6b2F1dGgiLCJzeXN0ZW06YXV0aGVudGljYXRlZCJdLGV4dHJhOnsic2NvcGVzLmF1dGhvcml6YXRpb24ub3BlbnNoaWZ0LmlvIjpbInVzZXI6aW5mbyJdfSwidWlkIjoiIiwidXNlcm5hbWUiOiJkZXZlbG9wZXIifQo= {"groups":["system:authenticated:oauth","system:authenticated"],extra:{"scopes.authorization.openshift.io":["user:info"]},"uid":"","username":"developer"}
Does look like a bug.
https://github.com/openservicebrokerapi/servicebroker/blob/v2.13/profile.md#kubernetes
Thanks for finding the link, I should have included in my initial bug report
Service Catalog does not send over extra fields in
extra
instead it is a top level of the created object.Actual results:
Expected results: