Skip to content

bug: CRD reference is not versioned in docs #206

Description

@LukeTimeWalker

Describe the bug

The CRD reference is not versioned but shows always the current state of the CRDs. I noticed this when trying to use topologySpreadConstraints with kcp-operator version 0.6.0.

Steps To Reproduce

  1. Go to the official kcp-operator docs and select an old version
  2. Go to the Reference tab and view the CRD references

Expected Behaviour

The references should only show the CRD spec that are installed with the corresponding helm chart version.

Additional Context

As far as I understand this, the problem is that the main branch is hard-coded in the crd-docs-generator config

commit_reference: main

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions