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

Open Beginner friendly
#1,121 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Tech stack
hugo, kubernetes
Domain
documentation

Research direction

Start with the Composite Resource Definitions page at docs.crossplane.io/v2.3/composition/composite-resource-definitions/ and compare it with the categories definitions in the linked apiextensions.crossplane.io_compositeresourcedefinitions.yaml schema. Document category support for claims and XRs, and add guidance on category naming so users can provide a good kubectl experience.

Written by the indexing model from the issue text.

Description

  • 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 https://github.com/kubernetes/website/issues/56279

Dominant language
SCSS
Stars
60
Forks
163
Avg merge
15h 20m
Merged PRs (30d)
9

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from crossplane/docs

All issues in crossplane/docs

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.