From a6f5a7dcb4346329f1a49ac7313a4864e3bf6f5d Mon Sep 17 00:00:00 2001 From: Sarah Alsmiller Date: Tue, 2 Aug 2022 11:07:29 -0500 Subject: [PATCH] reformat --- website/content/docs/api-gateway/install.mdx | 78 ++++++++++---------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/website/content/docs/api-gateway/install.mdx b/website/content/docs/api-gateway/install.mdx index 1d7c616d6..1e8c9477c 100644 --- a/website/content/docs/api-gateway/install.mdx +++ b/website/content/docs/api-gateway/install.mdx @@ -29,57 +29,57 @@ $ kubectl apply --kustomize="github.com/hashicorp/consul-api-gateway/config/crd? 1. Create a `values.yaml` file for your Consul API Gateway deployment by copying the following content and running it in the environment where you set the `VERSION` environment variable. The Consul Helm chart uses this `values.yaml` file to deploy the API Gateway. Available versions of the [Consul](https://hub.docker.com/r/hashicorp/consul/tags) and [Consul API Gateway](https://hub.docker.com/r/hashicorp/consul-api-gateway/tags) Docker images can be found on DockerHub, with additional context on version compatibility published in [GitHub releases](https://github.com/hashicorp/consul-api-gateway/releases). For more options to configure your Consul API Gateway deployment through the Helm chart, refer to [Helm Chart Configuration - apiGateway](https://www.consul.io/docs/k8s/helm#apigateway). - + - ```shell - cat < values.yaml - global: - name: consul - connectInject: - enabled: true - controller: - enabled: true - apiGateway: - enabled: true - image: hashicorp/consul-api-gateway:$VERSION - EOF - ``` + ```shell + cat < values.yaml + global: + name: consul + connectInject: + enabled: true + controller: + enabled: true + apiGateway: + enabled: true + image: hashicorp/consul-api-gateway:$VERSION + EOF + ``` - + 1. Install Consul API Gateway using the standard Consul Helm chart or Consul K8s CLI specify the custom values file. Available versions of the [Consul Helm chart](https://github.com/hashicorp/consul-k8s/releases) can be found in GitHub releases. - - -Add the HashiCorp Helm repository. + + + Note: You can review the official [Consul K8S CLI documentation](https://www.consul.io/docs/k8s/k8s-cli) to learn more about additional settings. -```shell-session -$ helm repo add hashicorp https://helm.releases.hashicorp.com -``` + ```shell-session + $ brew tap hashicorp/tap + ``` -Install Consul with API Gateway on your Kubernetes cluster by specifying the `values.yaml` file. + ```shell-session + $ brew install hashicorp/tap/consul-k8s + ``` -```shell-session -$ helm install consul hashicorp/consul --version 0.45.0 --values values.yaml --create-namespace --namespace consul -``` - - -Note: You can review the official [Consul K8S CLI documentation](https://www.consul.io/docs/k8s/k8s-cli) to learn more about additional settings. + ```shell-session + $ consul-k8s install -config-file=values.yaml -set global.image=hashicorp/consul:1.12.2 + ``` -```shell-session -$ brew tap hashicorp/tap -``` + + + Add the HashiCorp Helm repository. -```shell-session -$ brew install hashicorp/tap/consul-k8s -``` + ```shell-session + $ helm repo add hashicorp https://helm.releases.hashicorp.com + ``` -```shell-session -$ consul-k8s install -config-file=values.yaml -set global.image=hashicorp/consul:1.12.2 -``` + Install Consul with API Gateway on your Kubernetes cluster by specifying the `values.yaml` file. - - + ```shell-session + $ helm install consul hashicorp/consul --version 0.45.0 --values values.yaml --create-namespace --namespace consul + ``` + +