Skip to content

crd-extractor.sh does not work properly on CRDs with more than one line matching kind: #287

Open
@ssmall

Description

@ssmall

Any CRD with metadata.ownerReferences populated will break the script. E.g.

metadata:
  ownerReferences:
    - apiVersion: core.cnrm.cloud.google.com/v1beta1
      kind: ConfigConnector
      name: configconnector.core.cnrm.cloud.google.com

causes the script to incorrectly match kind: ConfigConnector as the kind for the CRD

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @ssmall

      Issue actions

        crd-extractor.sh does not work properly on CRDs with more than one line matching `kind:` · Issue #287 · datreeio/CRDs-catalog