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
- Go to the official kcp-operator docs and select an old version
- 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
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
topologySpreadConstraintswith kcp-operator version0.6.0.Steps To Reproduce
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
mainbranch is hard-coded in the crd-docs-generator configkcp-operator/docs/generators/crd-ref/config.yaml
Line 21 in eac69cc