api icon indicating copy to clipboard operation
api copied to clipboard

RFE: good practices validator only warn for empty CRD desc if spec.customresourcedefinitions in csv is not empty

Open HarikrishnanBalagopal opened this issue 2 years ago • 1 comments

https://github.com/operator-framework/api/blob/28c6773d2b746559369035cfa3d211360706a247/pkg/validation/internal/good_practices.go#L243

This warning is always returned, even when you are not using the customresourcedefinitions field. Example:

spec:
  apiservicedefinitions: {}
  customresourcedefinitions: {}

It's even in the docs where the show how to validate the bundle https://sdk.operatorframework.io/docs/advanced-topics/custom-bundle-validation/ image

HarikrishnanBalagopal avatar Sep 15 '23 18:09 HarikrishnanBalagopal

Issues go stale after 90 days of inactivity. If there is no further activity, the issue will be closed in another 30 days.

github-actions[bot] avatar May 28 '25 01:05 github-actions[bot]