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

Always pull latest cert-manager version #407

Merged
merged 4 commits into from
Oct 3, 2022
Merged
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
16 changes: 15 additions & 1 deletion docs/quickstart/installing-thundernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,24 @@ Follow the steps below to install Thundernetes on your Kubernetes cluster.

Once you have a Kubernetes cluster up and running, you need to install [cert-manager](https://cert-manager.io). Cert-manager is a certificate controller for Kubernetes and it is needed for the webhooks used to validate your GameServerBuilds.

The following will install `cert-manager` v1.8.0:

{% include code-block-start.md %}
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.8.0/cert-manager.yaml
{% include code-block-end.md %}

If you feel adventurous, you may try installing the latest version of `cert-manager`, however there are no guarantees in this case. Thundernetes install is only tested against the pinned version.

{% include code-block-start.md %}
# Get the latest cert-manager release version number
VERSION=$(curl -s https://api.github.com/repos/cert-manager/cert-manager/releases/latest \
| grep '"tag_name":' \
| sed -E 's/.*"([^"]+)".*/\1/')

# Install latest cert-manager
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/$VERSION/cert-manager.yaml
{% include code-block-end.md %}

To verify that cert-manager is installed, you can run the following command:

{% include code-block-start.md %}
Expand Down Expand Up @@ -80,4 +94,4 @@ Then, you can run the following script to install Thundernetes with TLS security
kubectl apply -f https://raw.githubusercontent.com/PlayFab/thundernetes/main/installfiles/operator_with_security.yaml
{% include code-block-end.md %}

**Note:** The two installation files (operator.yaml and operator_with_security.yaml) are identical except for the API_SERVICE_SECURITY environment variable that is passed into the controller container.
**Note:** The two installation files (operator.yaml and operator_with_security.yaml) are identical except for the API_SERVICE_SECURITY environment variable that is passed into the controller container.