Skip to content

Commit b69fa43

Browse files
robscottdtumkursreenivas
and
dtumkursreenivas
authored
Updating deps to k8s 1.32 and go 1.24 (#3697)
* Updating deps to k8s 1.32 and go 1.24 Co-authored-by: dtumkursreenivas <[email protected]> * Temporary fix for register-gen regression in v1.32 * Moving reference docs gen to elastic/crd-ref-docs * Bumping golangci-lint version, docs gen cleanup --------- Co-authored-by: dtumkursreenivas <[email protected]>
1 parent 893a73e commit b69fa43

File tree

173 files changed

+1851
-4193
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+1851
-4193
lines changed

.github/dependabot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ updates:
5454

5555
# Dependencies listed in requirements.txt
5656
- package-ecosystem: "pip"
57-
directory: "/"
57+
directory: "/hack/mkdocs/image"
5858
schedule:
5959
interval: "weekly"
6060
labels:

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,4 @@ go.work.sum
5656
/cache
5757
.venv/
5858
release/
59+
site-src/reference/spec.md

Makefile

+26-12
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ test.crds-validation:
9191
.PHONY: conformance
9292
conformance:
9393
go test ${GO_TEST_FLAGS} -v ./conformance -run TestConformance -args ${CONFORMANCE_FLAGS}
94-
94+
9595
# Install CRD's and example resources to a preexisting cluster.
9696
.PHONY: install
9797
install: crd example
@@ -159,14 +159,28 @@ image.multiarch.setup: image.buildx.verify
159159
release-staging: image.multiarch.setup
160160
hack/build-and-push.sh
161161

162-
# Generate a virtualenv install, which is useful for hacking on the
163-
# docs since it installs mkdocs and all the right dependencies.
164-
#
165-
# On Ubuntu, this requires the python3-venv package.
166-
virtualenv: .venv
167-
.venv: requirements.txt
168-
@echo Creating a virtualenv in $@"... "
169-
@python3 -m venv $@ || (rm -rf $@ && exit 1)
170-
@echo Installing packages in $@"... "
171-
@$@/bin/python3 -m pip install -q -r requirements.txt || (rm -rf $@ && exit 1)
172-
@echo To enter the virtualenv type \"source $@/bin/activate\", to exit type \"deactivate\"
162+
# Docs
163+
164+
.PHONY: build-docs
165+
build-docs:
166+
docker build --pull -t gaie/mkdocs hack/mkdocs/image
167+
docker run --rm -v ${PWD}:/docs gaie/mkdocs build
168+
169+
.PHONY: build-docs-netlify
170+
build-docs-netlify:
171+
hack/mkdocs/generate.sh
172+
pip install -r hack/mkdocs/image/requirements.txt
173+
python -m mkdocs build
174+
175+
.PHONY: live-docs
176+
live-docs:
177+
docker build -t gw/mkdocs hack/mkdocs/image
178+
docker run --rm -it -p 3000:3000 -v ${PWD}:/docs gw/mkdocs
179+
180+
.PHONY: api-ref-docs
181+
api-ref-docs:
182+
crd-ref-docs \
183+
--source-path=${PWD}/apis \
184+
--config=crd-ref-docs.yaml \
185+
--renderer=markdown \
186+
--output-path=${PWD}/site-src/reference/spec.md

apis/v1/zz_generated.register.go

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha2/zz_generated.deepcopy.go

+12-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1beta1/zz_generated.deepcopy.go

+4-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apisx/v1alpha1/zz_generated.deepcopy.go

+17-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)