cloudfoundry / korifi

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

[Explore]: CFOrg and CFSpace custom resources #382

Closed julian-hj closed 2 years ago

julian-hj commented 2 years ago

Background

Consider creating CFOrg and CFSpace resources with associated controllers to allow management of orgs and spaces directly through kubectl.

The current stack has nontrivial logic in the API shim that would make it difficult to manage orgs and spaces through k8s.

For example:

We'd like to move this logic into the controller layer and make the API shim as dumb as possible.

This would also give us some insulation if we decide later to replace HNC with something more lightweight.

Acceptance Criteria

We've written a proposal describing the changes we'd like to make, and solicited feedback, Or We've discovered that this is a bad idea, and documented the reasons why in comments below.

Number of days this exploration is expected to take. This is what is “pointed”.

No response

Dev Notes

julian-hj commented 2 years ago

Past proposals & explorations:

matt-royal commented 2 years ago

The proposal was approved: https://docs.google.com/document/d/18RU-ZMookwjdpD-IJAVhzCyU1boF8pGuZEHAgpMs3Us/edit#heading=h.ywce4jce6q31