The future of system CRDs and how they're made available to workspaces #980
ncdc
started this conversation in
Development
Replies: 1 comment 3 replies
-
Would love to see (1). We could place the APIExport for that in some system workspace. The interesting bit: then those need a shared identity between different shards such that in the future (when we have wildcard authz for serviceaccount with identities as audience) service account can access these kcp-wide. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We will reserve (although it's not documented)
kcp.dev
CRDs for kcp system use (when #772 is implemented). We put all the system CRDs in thesystem:system-crds
logical cluster. To avoid copying them into all the other logical clusters that use them, we have custom CRD handling logic to make system CRDs available in certain types of workspaces. Which workspaces see which system CRDs is currently hard-coded:kcp/pkg/server/apiextensions.go
Lines 75 to 99 in f4f4a73
This is not going to scale, so we'll presumably want to make this more flexible and configurable. Some thoughts on how to do this:
WDYT? Other ideas? Don't bother? 😄 Would love to hear opinions.
Beta Was this translation helpful? Give feedback.
All reactions