Merge pull request #9612 from hashicorp/ui-ingress

Update docs with fields for ingress support for consul UI
This commit is contained in:
Ashwin Venkatesh 2021-01-22 15:17:40 -05:00 committed by GitHub
commit a341d6f0c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 37 additions and 0 deletions

View File

@ -759,6 +759,43 @@ and consider if they're appropriate for your deployment.
This should be a multi-line string mapping directly to a Kubernetes
ServiceSpec object.
- `ingress` ((#v-ui-ingress)) - Configure Ingress for the Consul UI.
If `global.tls.enabled` is set to `true`, the Ingress will expose
the port 443 on the UI service. Please ensure the Ingress Controller
supports SSL pass-through and it is enabled to ensure traffic forwarded
to port 443 has not been TLS terminated.
- `enabled` ((#v-ui-ingress-enabled)) (`boolean: false`) - This will create an Ingress resource for the Consul UI.
- `hosts` ((#v-ui-ingress-hosts)) (`array<map>`) - hosts is a list of host name to create Ingress rules.
```yaml
hosts:
- host: foo.bar
paths:
- /example
- /test
```
- `tls` ((#v-ui-ingress-tls)) (`array<map>`) - tls is a list of hosts and secret name in an Ingress
which tells the Ingress controller to secure the channel.
```yaml
tls:
- hosts:
- chart-example.local
secretName: testsecret-tls
```
- `annotations` ((#v-ui-ingress-annotations)) (`string: null`) - Annotations to apply to the UI ingress.
Example:
```yaml
annotations: |
'annotation-key': annotation-value
```
- `syncCatalog` ((#v-synccatalog)) - Configure the catalog sync process to sync K8S with Consul
services. This can run bidirectional (default) or unidirectionally (Consul
to K8S or K8S to Consul only).