Skip to content

Commit b23396d

Browse files
hdurand0710oktalz
authored andcommitted
BUG/MEDIUM: fix empty server due to CRD v3
1 parent b90a008 commit b23396d

File tree

6 files changed

+4572
-5204
lines changed

6 files changed

+4572
-5204
lines changed

crs/code-generator.sh

+6
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,9 @@ echo "Controller-gen: " ${CONTROLLER_GEN_VERSION}
102102
controller-gen crd paths=./crs/api/ingress/v3/... output:crd:dir=./crs/definition
103103
# remove code-gen annotation (dependabot fails)
104104
find ${CR_DIR}/definition -type f -name '*.yaml' -exec sed -i '/controller-gen.kubebuilder.io\/version/d' {} +
105+
106+
107+
# # Removal of some fields from the CRDs
108+
# # For example, for now we remove servers from the backend CRD v3
109+
echo "Removing fields from the generated CRDs"
110+
sh crs/remove-fields-from-crds.sh

0 commit comments

Comments
 (0)