From ada13507a7df5b0615fcdb238e638b567f24a426 Mon Sep 17 00:00:00 2001 From: alekser Date: Fri, 5 Apr 2019 13:13:55 +0000 Subject: [PATCH] Choose specific release of gen-crd-api-reference-docs Minor fix in documentation. --- build/build-image/Dockerfile | 4 ++-- pkg/apis/stable/v1alpha1/gameserver.go | 2 +- site/content/en/docs/Reference/agones_crd_api_reference.html | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/build/build-image/Dockerfile b/build/build-image/Dockerfile index 6e180218ec..d9ecc41948 100644 --- a/build/build-image/Dockerfile +++ b/build/build-image/Dockerfile @@ -125,7 +125,7 @@ RUN curl -sL https://deb.nodesource.com/setup_11.x | bash - && \ # install API reference docs generator RUN mkdir -p /go/src/github.com/ahmetb && \ - cd /go/src/github.com/ahmetb && git clone https://github.com/ahmetb/gen-crd-api-reference-docs && \ + cd /go/src/github.com/ahmetb && git clone -b v0.1.1 https://github.com/ahmetb/gen-crd-api-reference-docs && \ cd ./gen-crd-api-reference-docs && go build # html checker @@ -147,4 +147,4 @@ RUN chmod +x /root/*.sh RUN wget https://github.com/Kitware/CMake/releases/download/v3.14.0/cmake-3.14.0-Linux-x86_64.sh && mkdir /opt/cmake && \ sh ./cmake-3.14.0-Linux-x86_64.sh --skip-license --prefix=/opt/cmake && export PATH=$PATH:/opt/cmake/bin -WORKDIR /go \ No newline at end of file +WORKDIR /go diff --git a/pkg/apis/stable/v1alpha1/gameserver.go b/pkg/apis/stable/v1alpha1/gameserver.go index c0e3872762..dd40ff3855 100644 --- a/pkg/apis/stable/v1alpha1/gameserver.go +++ b/pkg/apis/stable/v1alpha1/gameserver.go @@ -155,7 +155,7 @@ type GameServerPort struct { // PortPolicy defines the policy for how the HostPort is populated. // Dynamic port will allocate a HostPort within the selected MIN_PORT and MAX_PORT range passed to the controller // at installation time. - // When `static` is the policy specified, `HostPort` is required, to specify the port that game clients will + // When `Static` portPolicy is specified, `HostPort` is required, to specify the port that game clients will // connect to PortPolicy PortPolicy `json:"portPolicy,omitempty"` // ContainerPort is the port that is being opened on the game server process diff --git a/site/content/en/docs/Reference/agones_crd_api_reference.html b/site/content/en/docs/Reference/agones_crd_api_reference.html index 8fac494072..8834f9a566 100644 --- a/site/content/en/docs/Reference/agones_crd_api_reference.html +++ b/site/content/en/docs/Reference/agones_crd_api_reference.html @@ -2218,6 +2218,7 @@

WebhookPolicy {{% /feature %}} + {{% feature publishVersion="0.10.0" %}}

Packages: