Skip to content

Commit

Permalink
Choose specific release of gen-crd-api-reference-docs
Browse files Browse the repository at this point in the history
Minor fix in documentation.
  • Loading branch information
aLekSer authored and markmandel committed Apr 5, 2019
1 parent 0ad5391 commit 4c06cf6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build/build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
WORKDIR /go
2 changes: 1 addition & 1 deletion pkg/apis/stable/v1alpha1/gameserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion site/content/en/docs/Reference/agones_crd_api_reference.html
Original file line number Diff line number Diff line change
Expand Up @@ -2218,6 +2218,7 @@ <h3 id="WebhookPolicy">WebhookPolicy
{{% /feature %}}



{{% feature publishVersion="0.10.0" %}}
<p>Packages:</p>
<ul>
Expand Down Expand Up @@ -3758,7 +3759,7 @@ <h3 id="GameServerPort">GameServerPort
<p>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 <code>static</code> is the policy specified, <code>HostPort</code> is required, to specify the port that game clients will
When <code>Static</code> portPolicy is specified, <code>HostPort</code> is required, to specify the port that game clients will
connect to</p>
</td>
</tr>
Expand Down

0 comments on commit 4c06cf6

Please sign in to comment.