Skip to content

Commit

Permalink
Add fix for CRD schema (#102)
Browse files Browse the repository at this point in the history
- Upgraded the controller-gen binary
- Regenerated the CRD to comply with v1.18 schema, issues described in
kubernetes/kubernetes#91395
  • Loading branch information
voltbit authored May 24, 2021
1 parent 9c557c5 commit 88f3802
Show file tree
Hide file tree
Showing 4 changed files with 6,745 additions and 8,758 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ ifeq (, $(shell which controller-gen))
CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\
cd $$CONTROLLER_GEN_TMP_DIR ;\
go mod init tmp ;\
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.2.5 ;\
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.5.0 ;\
rm -rf $$CONTROLLER_GEN_TMP_DIR ;\
}
CONTROLLER_GEN=$(GOBIN)/controller-gen
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ Kubernetes operator that creates and manages Redis HA clustered databases - [Red
### Using the operator on a local cluster

The project uses a [kind](https://kind.sigs.k8s.io/docs/user/quick-start/) cluster for development and test purposes.
Current `kind` version: [v0.10.0](https://github.com/kubernetes-sigs/kind/releases/tag/v0.10.0)

Requirements:

* `kind`: [v0.10.0](https://github.com/kubernetes-sigs/kind/releases/tag/v0.10.0)
* `controller-gen` > 0.4

**1. Setting up a cluster**

Expand Down
Loading

0 comments on commit 88f3802

Please sign in to comment.