Skip to content

[Web Bug] - Composite Resource Definitions documentation are missing categories #1121

Description

@gberche-orange
  • As a XRD author,
  • in order to help management of the claims and xr custom resources
  • I need to specify categories in XRD for claims and XRs

However, categories support in XRD are not documented, and only appear in the XRD openapi schema

URL: https://docs.crossplane.io/v2.3/composition/composite-resource-definitions/

https://github.com/crossplane/crossplane/blob/56aace77e6771894afa157a3339dbe8d6d15401a/cluster/crds/apiextensions.crossplane.io_compositeresourcedefinitions.yaml#L66-L81

              claimNames:
                description: |-
                  ClaimNames specifies the names of an optional composite resource claim.
                  ...
                properties:
                  categories:
                    description: |-
                      categories is a list of grouped resources this custom resource belongs to (e.g. 'all').
                      This is published in API discovery documents, and used by clients to support invocations like
                      `kubectl get all`.

Likewise, guidance to crossplane users on use of naming of categories would be useful to provide a good user experience. See related feedback upstream at kubernetes/website#56279

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions