website: fix ordering of list with nested code blocks

This commit is contained in:
Mike Morris 2022-01-27 11:34:11 -05:00
parent 3324bea829
commit 1c7a9c6885

View File

@ -26,40 +26,40 @@ Your datacenter must meet the following requirements prior to configuring the Co
1. Create a values file for your Consul server agents that contains the following parameters: 1. Create a values file for your Consul server agents that contains the following parameters:
<CodeBlockConfig hideClipboard filename="values.yaml"> <CodeBlockConfig hideClipboard filename="values.yaml">
```yaml ```yaml
global: global:
name: consul name: consul
image: 'hashicorp/consul:1.11.2' image: 'hashicorp/consul:1.11.2'
tls: tls:
enabled: true
connectInject:
enabled: true enabled: true
connectInject: controller:
enabled: true enabled: true
controller: ```
enabled: true
```
</CodeBlockConfig> </CodeBlockConfig>
1. Install Consul API Gateway using the standard Consul Helm chart and specify the custom values file. 1. Install Consul API Gateway using the standard Consul Helm chart and specify the custom values file.
```shell-session ```shell-session
$ helm install consul hashicorp/consul --version 0.39.0 --values values.yaml $ helm install consul hashicorp/consul --version 0.39.0 --values values.yaml
``` ```
The following components will be installed: The following components will be installed:
- Gateway controller - Gateway controller
- CRDs required by the Kubernetes Gateway API specification - CRDs required by the Kubernetes Gateway API specification
- `kustomize` manifests for completing the installation - `kustomize` manifests for completing the installation
1. After `helm` installs Consul API Gateway packages, issue the following commands to apply the API gateway to your Kubernetes cluster: 1. After `helm` installs Consul API Gateway packages, issue the following commands to apply the API gateway to your Kubernetes cluster:
```shell-session ```shell-session
$ kubectl apply --kustomize="github.com/hashicorp/consul-api-gateway/config/crd?ref=v0.1.0-beta" $ kubectl apply --kustomize="github.com/hashicorp/consul-api-gateway/config/crd?ref=v0.1.0-beta"
$ kubectl apply --kustomize="github.com/hashicorp/consul-api-gateway/config?ref=v0.1.0-beta" $ kubectl apply --kustomize="github.com/hashicorp/consul-api-gateway/config?ref=v0.1.0-beta"
``` ```
## Usage ## Usage
@ -68,9 +68,9 @@ $ kubectl apply --kustomize="github.com/hashicorp/consul-api-gateway/config?ref=
1. Configure the gateway, listener(s), and route(s) as described in [Configuration](#configuration). 1. Configure the gateway, listener(s), and route(s) as described in [Configuration](#configuration).
1. Issue the `kubectl apply` command to implement the configurations, e.g.: 1. Issue the `kubectl apply` command to implement the configurations, e.g.:
```shell-session ```shell-session
$ kubectl apply --values gateway-configuration.yaml $ kubectl apply --values gateway-configuration.yaml
``` ```
<!--- Commented out per https://github.com/hashicorp/consul/pull/11951/files#r791204596 <!--- Commented out per https://github.com/hashicorp/consul/pull/11951/files#r791204596