Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Choose specific release version of gen-crd-api-reference-docs #691

Merged
merged 1 commit into from
Apr 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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