Document new escape tag ability for k8s (#12175)

This commit is contained in:
Luke Kysow 2022-01-28 21:44:42 -08:00 committed by GitHub
parent 66f0173355
commit 4e013158b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -338,6 +338,9 @@ Pod annotations can be used to configure the injection behavior.
consul.hashicorp.com/service-tags: foo,bar,baz consul.hashicorp.com/service-tags: foo,bar,baz
``` ```
If you need your tag to have a comma in it you can escape the comma with `\,`. For example,
`consul.hashicorp.com/service-tags: foo\,bar\,baz` will become the single tag `foo,bar,baz`.
- `consul.hashicorp.com/service-meta-<YOUR_KEY>` - Set Consul meta key/value - `consul.hashicorp.com/service-meta-<YOUR_KEY>` - Set Consul meta key/value
pairs that will be applied to the Consul service and its sidecar. pairs that will be applied to the Consul service and its sidecar.
The key will be what comes after `consul.hashicorp.com/service-meta-`, e.g. The key will be what comes after `consul.hashicorp.com/service-meta-`, e.g.