Skip to content

Commit 98ee3ba

Browse files
[EV-5709] Remove the rest of the descriptions
1 parent ca52da6 commit 98ee3ba

File tree

10 files changed

+545
-28993
lines changed

10 files changed

+545
-28993
lines changed

libcalico-go/Makefile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,13 @@ gen-files: gen-crds
5454
gen-crds:
5555
rm -rf config/crd
5656
# Generate CRDs
57-
$(DOCKER_GO_BUILD) sh -c '$(GIT_CONFIG_SSH) controller-gen crd:allowDangerousTypes=true,crdVersions=v1,deprecatedV1beta1CompatibilityPreserveUnknownFields=false paths=./lib/apis/... output:crd:dir=config/crd/crd-felix/'
57+
$(DOCKER_GO_BUILD) sh -c '$(GIT_CONFIG_SSH) controller-gen crd:allowDangerousTypes=true,crdVersions=v1,deprecatedV1beta1CompatibilityPreserveUnknownFields=false,maxDescLen=0 paths=./lib/apis/... output:crd:dir=config/crd/crd-felix/'
5858
# Generate CRDs with maxDescLen=0
59-
$(DOCKER_GO_BUILD) sh -c '$(GIT_CONFIG_SSH) controller-gen crd:allowDangerousTypes=true,crdVersions=v1,deprecatedV1beta1CompatibilityPreserveUnknownFields=false,maxDescLen=0 paths=./lib/apis/... output:crd:dir=config/crd/'
60-
# Copy the Felix CRD over the one with truncated descriptions
61-
cp config/crd/crd-felix/crd.projectcalico.org_felixconfigurations.yaml config/crd
59+
$(DOCKER_GO_BUILD) sh -c '$(GIT_CONFIG_SSH) controller-gen crd:allowDangerousTypes=true,crdVersions=v1,deprecatedV1beta1CompatibilityPreserveUnknownFields=false paths=./lib/apis/... output:crd:dir=config/crd/'
60+
# Remove felix CRD without descriptions
61+
rm config/crd/crd-felix/crd.projectcalico.org_felixconfigurations.yaml
62+
# Copy the CRDs over the CRDs with truncated descriptions
63+
cp config/crd/crd-felix/* config/crd
6264
# Cleanup
6365
rm -rf config/crd/crd-felix/
6466
rm -f config/crd/_.yaml

manifests/calico-bpf.yaml

Lines changed: 77 additions & 3221 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manifests/calico-policy-only.yaml

Lines changed: 77 additions & 3221 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manifests/calico-typha.yaml

Lines changed: 77 additions & 3221 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manifests/calico-vxlan.yaml

Lines changed: 77 additions & 3221 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manifests/calico.yaml

Lines changed: 77 additions & 3221 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manifests/canal.yaml

Lines changed: 77 additions & 3221 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manifests/crds.yaml

Lines changed: 0 additions & 3221 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manifests/flannel-migration/calico.yaml

Lines changed: 77 additions & 3221 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

manifests/operator-crds.yaml

Lines changed: 0 additions & 3221 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)