kindsys: Move code ownership of CustomStructured to apps platform team (#60497)

kindsys: Separate code ownership of CustomStructured
This commit is contained in:
sam boyer 2022-12-22 03:20:25 -05:00 committed by GitHub
parent c6db57c7d0
commit b28a208926
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 8 deletions

1
.github/CODEOWNERS vendored
View File

@ -241,6 +241,7 @@ lerna.json @grafana/frontend-ops
embed.go @grafana/grafana-as-code
/kinds/ @grafana/grafana-as-code
/pkg/codegen @grafana/grafana-as-code
/pkg/kindsys/kindcat_custom.cue @grafana/apps-platform-core
/pkg/kindsys @grafana/grafana-as-code
/pkg/kinds/*/*_gen.go @grafana/grafana-as-code
/pkg/registry/corekind @grafana/grafana-as-code

View File

@ -0,0 +1,15 @@
package kindsys
// CustomStructured specifies the Kind category for plugin-defined arbitrary types.
// Custom kinds have the same purpose as CoreStructured kinds, differing only in
// that they are declared by external plugins rather than in Grafana core. As such,
// this specification is kept closely aligned with the CoreStructured kind.
//
// Grafana provides Kubernetes apiserver-shaped APIs for interacting with custom kinds -
// The same API patterns (and clients) used to interact with CustomResources.
#CustomStructured: {
#Structured
lineageIsGroup: false
...
}

View File

@ -120,14 +120,6 @@ _sharedKind: {
// - get summary
}
// TODO
#CustomStructured: {
#Structured
lineageIsGroup: false
...
}
// TODO
#CoreStructured: {
#Structured