Skip to content

Commit cce318f

Browse files
authored
Hacky way to remove override descriptions (#383)
1 parent 9163dc1 commit cce318f

File tree

6 files changed

+436
-1
lines changed

6 files changed

+436
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.PHONY: list
55

66
# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)
7-
CRD_OPTIONS ?= "crd:trivialVersions=true, preserveUnknownFields=false, crdVersions=v1, maxDescLen=0"
7+
CRD_OPTIONS ?= "crd:trivialVersions=true, preserveUnknownFields=false, crdVersions=v1"
88

99
# Insert a comment starting with '##' after a target, and it will be printed by 'make' and 'make list'
1010
list: ## list Makefile targets
@@ -19,6 +19,7 @@ integration-tests: install-tools generate fmt vet manifests ## Run integration t
1919

2020
manifests: install-tools ## Generate manifests e.g. CRD, RBAC etc.
2121
controller-gen $(CRD_OPTIONS) rbac:roleName=operator-role paths="./api/...;./controllers/..." output:crd:artifacts:config=config/crd/bases
22+
./hack/remove-override-descriptions.sh
2223
./hack/add-notice-to-yaml.sh config/rbac/role.yaml
2324
# this is temporary workaround due to issue https://github.com/kubernetes/kubernetes/issues/91395
2425
# the hack ensures that "protocal" is a required value where this field is listed as x-kubernetes-list-map-keys

0 commit comments

Comments
 (0)