From e72152465fa39b4cb1608e93866d3d5d339231b2 Mon Sep 17 00:00:00 2001 From: David Yu Date: Thu, 22 Feb 2024 15:21:49 -0800 Subject: [PATCH] docs: format API GW tab docs (#20707) * Update install-k8s.mdx * Update install-k8s.mdx --- .../gateways/api-gateway/install-k8s.mdx | 68 +++++++++---------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/website/content/docs/connect/gateways/api-gateway/install-k8s.mdx b/website/content/docs/connect/gateways/api-gateway/install-k8s.mdx index 305a829a7303..7085b1464774 100644 --- a/website/content/docs/connect/gateways/api-gateway/install-k8s.mdx +++ b/website/content/docs/connect/gateways/api-gateway/install-k8s.mdx @@ -81,40 +81,40 @@ The Consul API gateway ships with Consul and is automatically installed when you 1. Install Consul API Gateway using the standard Consul Helm chart or Consul K8s CLI specify the custom values file. Refer to the [Consul Helm chart](https://github.com/hashicorp/consul-k8s/releases) in GitHub releases for the available versions. - - - -Refer to the official [Consul K8S CLI documentation](/consul/docs/k8s/k8s-cli) to find additional settings. - -```shell-session -$ brew tap hashicorp/tap -``` - -```shell-session -$ brew install hashicorp/tap/consul-k8s -``` - -```shell-session -$ consul-k8s install -config-file=values.yaml -set global.image=hashicorp/consul:1.16.0 -``` - - - - -Add the HashiCorp Helm repository. - -```shell-session -$ helm repo add hashicorp https://helm.releases.hashicorp.com -``` - -Install Consul with API Gateway on your Kubernetes cluster by specifying the `values.yaml` file. - -```shell-session -$ helm install consul hashicorp/consul --version 1.2.0 --values values.yaml --create-namespace --namespace consul -``` - - - + + + + Refer to the official [Consul K8S CLI documentation](/consul/docs/k8s/k8s-cli) to find additional settings. + + ```shell-session + $ brew tap hashicorp/tap + ``` + + ```shell-session + $ brew install hashicorp/tap/consul-k8s + ``` + + ```shell-session + $ consul-k8s install -config-file=values.yaml -set global.image=hashicorp/consul:1.17.0 + ``` + + + + + Add the HashiCorp Helm repository. + + ```shell-session + $ helm repo add hashicorp https://helm.releases.hashicorp.com + ``` + + Install Consul with API Gateway on your Kubernetes cluster by specifying the `values.yaml` file. + + ```shell-session + $ helm install consul hashicorp/consul --version 1.3.0 --values values.yaml --create-namespace --namespace consul + ``` + + +