From 48381f117f4ce286fec6572dec2b3c37a3e23dd2 Mon Sep 17 00:00:00 2001 From: Mark Mandel Date: Tue, 16 Feb 2021 13:06:38 -0800 Subject: [PATCH] Fix bug in webhook docs after example switch (#1996) I didn't realise the webhook examples weren't under the ./examples/simple-game-server folder, and as such weren't already updated for the 1.12.0 release branch. So this broke the examples for webhooks, as they still pointed at the `simple-udp` Fleet. Doing a temporary redirect of the yaml examples to `main` for these quickstart examples until the next release to resolve the issue. --- .../create-webhook-fleetautoscaler.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/site/content/en/docs/Getting Started/create-webhook-fleetautoscaler.md b/site/content/en/docs/Getting Started/create-webhook-fleetautoscaler.md index a23cd5e456..4597258ff7 100644 --- a/site/content/en/docs/Getting Started/create-webhook-fleetautoscaler.md +++ b/site/content/en/docs/Getting Started/create-webhook-fleetautoscaler.md @@ -70,9 +70,16 @@ Status: Running Let's create a Fleet Autoscaler using the following command: +{{% feature expiryVersion="1.13.0" %}} +``` +kubectl apply -f https://raw.githubusercontent.com/googleforgames/agones/main/examples/webhookfleetautoscaler.yaml +``` +{{% /feature %}} +{{% feature publishVersion="1.13.0" %}} ``` kubectl apply -f https://raw.githubusercontent.com/googleforgames/agones/{{< release-branch >}}/examples/webhookfleetautoscaler.yaml ``` +{{% /feature %}} You should see a successful output similar to this: @@ -347,10 +354,19 @@ base64 -i ./rootCA.pem ``` Copy the output of the command above and replace the caBundle field in your text editor (say vim) with the new value: + +{{% feature expiryVersion="1.13.0" %}} +``` +wget https://raw.githubusercontent.com/googleforgames/agones/main/examples/webhookfleetautoscalertls.yaml +vim ./webhookfleetautoscalertls.yaml +``` +{{% /feature %}} +{{% feature publishVersion="1.13.0" %}} ``` wget https://raw.githubusercontent.com/googleforgames/agones/{{< release-branch >}}/examples/webhookfleetautoscalertls.yaml vim ./webhookfleetautoscalertls.yaml ``` +{{% /feature %}} #### 3. Deploy a Webhook service for autoscaling