Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels
Activity
Use yq instead of grep to extract kind and group from CRDs