Skip to content

Commit

Permalink
update CRD API reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Kalaiselvi84 committed Feb 13, 2024
1 parent 68dedd7 commit 6383e1e
Show file tree
Hide file tree
Showing 5 changed files with 3,603 additions and 3,590 deletions.
7 changes: 5 additions & 2 deletions build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -733,8 +733,11 @@ gen-install: $(ensure-build-image)

# Generate the client for our CustomResourceDefinition
gen-crd-client: $(ensure-build-image)
docker run --rm $(common_mounts) -w $(workdir_path) $(build_tag) /root/gen-crd-client.sh
docker run --rm $(common_mounts) -w $(workdir_path)/pkg $(build_tag) goimports -w .
docker run --rm $(common_mounts) -w $(workdir_path) $(build_tag) bash -c "\
$(git_safe) && \
git config --global --list && \
/root/gen-crd-client.sh && \
cd /go/src/agones.dev/agones/pkg && goimports -w ."

# Run a bash shell with the developer tools in it. (Creates the image if it doesn't exist)
# Can use DOCKER_RUN_ARGS for extra arguments.
Expand Down
20 changes: 0 additions & 20 deletions pkg/client/clientset/versioned/doc.go

This file was deleted.

4 changes: 2 additions & 2 deletions pkg/client/informers/externalversions/factory.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion site/assets/templates/crd-doc-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
{
"typeMatchPrefix": "^k8s\\.io/(api|apimachinery/pkg/apis)/",
"docsURLTemplate": "https://v1-27.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#{{lower .TypeIdentifier}}-{{arrIndex .PackageSegments -1}}-{{arrIndex .PackageSegments -2}}"
"docsURLTemplate": "https://v1-28.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#{{lower .TypeIdentifier}}-{{arrIndex .PackageSegments -1}}-{{arrIndex .PackageSegments -2}}"
},
{
"typeMatchPrefix": "^github\\.com/knative/pkg/apis/duck/",
Expand Down
Loading

0 comments on commit 6383e1e

Please sign in to comment.