We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf4f3bd commit 710b427Copy full SHA for 710b427
Utilities/crd-extractor.sh
@@ -56,8 +56,11 @@ do
56
singularNameValue=$(grep singular: "$TMP_CRD_DIR/"$resourceKind".yaml" -m 1)
57
singularName=${singularNameValue##* }
58
59
+ # Get group
60
+ resourceGroup=${resourceKind#*.}
61
+
62
# Save name and group for later directory organization
- CRD_GROUPS["$singularName"]="${resourceKind#*.}"
63
+ CRD_GROUPS["$singularName"]="$resourceGroup"
64
65
let NUM_OF_CRDS++
66
done < <(kubectl get crds 2>&1 | sed -n '/NAME/,$p' | tail -n +2)
0 commit comments