From 6681b2cc31e7ceabeed13bf8ce214e1921f46a02 Mon Sep 17 00:00:00 2001 From: Craig Box Date: Mon, 20 Jan 2025 21:39:13 +1300 Subject: [PATCH 1/2] remove unnecessary semicolon which breaks zsh on mac --- content/en/boilerplates/gateway-api-install-crds.md | 2 +- content/en/boilerplates/snips/gateway-api-install-crds.sh | 2 +- content/uk/boilerplates/gateway-api-install-crds.md | 2 +- content/zh/boilerplates/gateway-api-install-crds.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/en/boilerplates/gateway-api-install-crds.md b/content/en/boilerplates/gateway-api-install-crds.md index 585f797e3eb53..fae64293d4a66 100644 --- a/content/en/boilerplates/gateway-api-install-crds.md +++ b/content/en/boilerplates/gateway-api-install-crds.md @@ -5,5 +5,5 @@ installed before using the Gateway API: {{< text syntax=bash snip_id=install_crds >}} $ kubectl get crd gateways.gateway.networking.k8s.io &> /dev/null || \ - { kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/{{< k8s_gateway_api_version >}}/standard-install.yaml; } + { kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/{{< k8s_gateway_api_version >}}/standard-install.yaml } {{< /text >}} diff --git a/content/en/boilerplates/snips/gateway-api-install-crds.sh b/content/en/boilerplates/snips/gateway-api-install-crds.sh index 1199aac904fe7..16591dec05412 100644 --- a/content/en/boilerplates/snips/gateway-api-install-crds.sh +++ b/content/en/boilerplates/snips/gateway-api-install-crds.sh @@ -22,5 +22,5 @@ bpsnip_gateway_api_install_crds_install_crds() { kubectl get crd gateways.gateway.networking.k8s.io &> /dev/null || \ - { kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.2.1/standard-install.yaml; } + { kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.2.1/standard-install.yaml } } diff --git a/content/uk/boilerplates/gateway-api-install-crds.md b/content/uk/boilerplates/gateway-api-install-crds.md index 815ba1d0d773e..3a111ffef1faf 100644 --- a/content/uk/boilerplates/gateway-api-install-crds.md +++ b/content/uk/boilerplates/gateway-api-install-crds.md @@ -4,5 +4,5 @@ {{< text syntax=bash snip_id=install_crds >}} $ kubectl get crd gateways.gateway.networking.k8s.io &> /dev/null || \ - { kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/{{< k8s_gateway_api_version >}}/standard-install.yaml; } + { kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/{{< k8s_gateway_api_version >}}/standard-install.yaml } {{< /text >}} diff --git a/content/zh/boilerplates/gateway-api-install-crds.md b/content/zh/boilerplates/gateway-api-install-crds.md index 30530c1ccf57c..e0aa1be2803ef 100644 --- a/content/zh/boilerplates/gateway-api-install-crds.md +++ b/content/zh/boilerplates/gateway-api-install-crds.md @@ -5,5 +5,5 @@ {{< text syntax=bash snip_id=install_crds >}} $ kubectl get crd gateways.gateway.networking.k8s.io &> /dev/null || \ - { kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/{{< k8s_gateway_api_version >}}/standard-install.yaml; } + { kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/{{< k8s_gateway_api_version >}}/standard-install.yaml } {{< /text >}} From 76f9201ed659d9540b1207a131c432188e0bf047 Mon Sep 17 00:00:00 2001 From: Craig Box Date: Mon, 3 Feb 2025 23:16:06 +1300 Subject: [PATCH 2/2] better fix --- content/en/boilerplates/gateway-api-install-crds.md | 2 +- content/en/boilerplates/snips/gateway-api-install-crds.sh | 2 +- content/uk/boilerplates/gateway-api-install-crds.md | 2 +- content/zh/boilerplates/gateway-api-install-crds.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/en/boilerplates/gateway-api-install-crds.md b/content/en/boilerplates/gateway-api-install-crds.md index fae64293d4a66..cd682f955f742 100644 --- a/content/en/boilerplates/gateway-api-install-crds.md +++ b/content/en/boilerplates/gateway-api-install-crds.md @@ -5,5 +5,5 @@ installed before using the Gateway API: {{< text syntax=bash snip_id=install_crds >}} $ kubectl get crd gateways.gateway.networking.k8s.io &> /dev/null || \ - { kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/{{< k8s_gateway_api_version >}}/standard-install.yaml } + kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/{{< k8s_gateway_api_version >}}/standard-install.yaml {{< /text >}} diff --git a/content/en/boilerplates/snips/gateway-api-install-crds.sh b/content/en/boilerplates/snips/gateway-api-install-crds.sh index 16591dec05412..3157bd91d5412 100644 --- a/content/en/boilerplates/snips/gateway-api-install-crds.sh +++ b/content/en/boilerplates/snips/gateway-api-install-crds.sh @@ -22,5 +22,5 @@ bpsnip_gateway_api_install_crds_install_crds() { kubectl get crd gateways.gateway.networking.k8s.io &> /dev/null || \ - { kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.2.1/standard-install.yaml } + kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.2.1/standard-install.yaml } diff --git a/content/uk/boilerplates/gateway-api-install-crds.md b/content/uk/boilerplates/gateway-api-install-crds.md index 3a111ffef1faf..213a5fa325be4 100644 --- a/content/uk/boilerplates/gateway-api-install-crds.md +++ b/content/uk/boilerplates/gateway-api-install-crds.md @@ -4,5 +4,5 @@ {{< text syntax=bash snip_id=install_crds >}} $ kubectl get crd gateways.gateway.networking.k8s.io &> /dev/null || \ - { kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/{{< k8s_gateway_api_version >}}/standard-install.yaml } + kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/{{< k8s_gateway_api_version >}}/standard-install.yaml {{< /text >}} diff --git a/content/zh/boilerplates/gateway-api-install-crds.md b/content/zh/boilerplates/gateway-api-install-crds.md index e0aa1be2803ef..555a3d98b3264 100644 --- a/content/zh/boilerplates/gateway-api-install-crds.md +++ b/content/zh/boilerplates/gateway-api-install-crds.md @@ -5,5 +5,5 @@ {{< text syntax=bash snip_id=install_crds >}} $ kubectl get crd gateways.gateway.networking.k8s.io &> /dev/null || \ - { kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/{{< k8s_gateway_api_version >}}/standard-install.yaml } + kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/{{< k8s_gateway_api_version >}}/standard-install.yaml {{< /text >}}