plugin-barman-cloud/hack/crd-gen-refs/config.yaml
Marco Nenciarini 08ab561429
Some checks failed
release-please / release-please (push) Failing after 4s
docs(apidoc): filter Optional markers from validation column (#723)
The crd-ref-docs tool v0.3.0 started rendering `+optional` Go markers as
`Optional: {}` in API documentation's validation column. This appeared
as redundant empty JSON objects since the Required column already
conveyed this information. The PR updates the documentation template to
filter these markers while keeping meaningful validation rules like
patterns and enums, and removes unnecessary customMarkers configuration.

Closes #722

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
2026-02-04 13:46:51 +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