Skip to content

Commit 4b2e9d9

Browse files
authored
Merge pull request #476 from rabbitmq/controller-gen
Remove crd patch hack
2 parents 91c0d40 + 336d802 commit 4b2e9d9

File tree

3 files changed

+0
-13
lines changed

3 files changed

+0
-13
lines changed

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ 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
2222
./hack/remove-override-descriptions.sh
2323
./hack/add-notice-to-yaml.sh config/rbac/role.yaml
24-
# this is temporary workaround due to issue https://github.com/kubernetes/kubernetes/issues/91395
25-
# the hack ensures that "protocal" is a required value where this field is listed as x-kubernetes-list-map-keys
26-
# without the hack, our crd doesn't install on k8s 1.18 because of the issue above
27-
./hack/patch-crd.sh
2824
./hack/add-notice-to-yaml.sh config/crd/bases/rabbitmq.com_rabbitmqclusters.yaml
2925

3026
# Run go fmt against code

hack/crd-patch.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

hack/patch-crd.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)