plugin-barman-cloud/hack/crd-gen-refs/config.yaml
Marco Nenciarini 34cecb0446
fix(docs): filter Optional markers from validation column
The crd-ref-docs tool v0.3.0 introduced a change that started
rendering `+optional` Go code markers as `Optional: {}` in the
validation column of API documentation. This appeared as an empty JSON
object and was redundant since the Required column already displayed
this information. This updates the documentation template to filter
out these Optional markers while preserving meaningful validation
rules like patterns and enums. It also removes redundant customMarkers
configuration.

Closes #722

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2026-02-04 09:54:19 +01:00

18 lines
598 B
YAML

processor:
ignoreGroupVersions:
- "GVK"
ignoreFields:
# - "status$"
- "TypeMeta$"
ignoreTypes:
- "ObjectStoreList$"
render:
# Version of Kubernetes to use when generating links to Kubernetes API documentation.
# renovate: datasource=git-refs depName=kubernetes/kubernetes lookupName=https://github.com/kubernetes/kubernetes
kubernetesVersion: 1.32
knownTypes:
- name: BarmanObjectStoreConfiguration
package: github.com/cloudnative-pg/barman-cloud/pkg/api
link: https://pkg.go.dev/github.com/cloudnative-pg/barman-cloud/pkg/api#BarmanObjectStoreConfiguration