diff --git a/.markdownlint.yml b/.markdownlint.yml new file mode 100644 index 0000000..fcd1dad --- /dev/null +++ b/.markdownlint.yml @@ -0,0 +1,19 @@ +MD007: + indent: 4 + start_indented: false + +MD013: + line_length: 200 + heading_line_length: 80 + code_block_line_length: 200 + code_blocks: true + tables: true + headings: true + strict: false + stern: false + +MD012: + maximum: 20 + +MD046: false +MD051: false diff --git a/Makefile b/Makefile index 65388ff..d1c7044 100644 --- a/Makefile +++ b/Makefile @@ -213,7 +213,8 @@ $(CONTROLLER_GEN): $(LOCALBIN) .PHONY: envtest envtest: $(ENVTEST) ## Download envtest-setup locally if necessary. $(ENVTEST): $(LOCALBIN) - test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest + # after v0.0.0-20240320141353-395cfc7486e6, setup-envtest is require go >= 1.22.0 + test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@v0.0.0-20240320141353-395cfc7486e6 .PHONY: operator-sdk OPERATOR_SDK ?= $(LOCALBIN)/operator-sdk