cybozu-go / accurate

Kubernetes controller for multi-tenancy. It propagates resources between namespaces accurately and allows tenant users to create/delete sub-namespaces.
https://cybozu-go.github.io/accurate/
Apache License 2.0
38 stars 5 forks source link

SubNamespace should be compatible with kstatus #85

Closed erikgb closed 8 months ago

erikgb commented 11 months ago

What

We use FluxCD to provision our clusters, and FluxCD supports health checks for CRDs compatible with kstatus. And I believe ArgoCD also does this.

It would be nice if the SubNamespace CRD had a status subresource compatible with kstatus. You can read more details in the specification, but I would suggest the following requirements (at least as a start):

Since the status field on SubNamespace currently is a simple string, this will be a breaking change of status.

How

Describe how to address the issue.

Checklist

zeroalphat commented 11 months ago

@erikgb Thanks for your feedback. We will investigate it.

ymmt2005 commented 11 months ago

To address this, we need to make an incompatible change to the API. I mean, we need to cut v2.