linkerd2/charts/partials
Kevin Leimkuhler 2ec5245d67
Add configuration for opaque ports (#4972)
## Motivation

Closes #4950

## Solution

Add the `config.linkerd.io/opaque-ports` annotation to either a namespace or pod
spec to set the proxy `LINKERD2_PROXY_INBOUND_PORTS_DISABLE_PROTOCOL_DETECTION`
environment variable.

Currently this environment variable is not used by the proxy, but will be
addressed by #4938.

## Valid values

Ports: `config.linkerd.io/opaque-ports: 4322,3306`

Port ranges: `config.linkerd.io/opaque-ports: 4320-4325`

Mixed ports and port ranges: `config.linkerd.io/opaque-ports: 4320-4325`

If the pod has named ports such as:

```
- name: nginx
  image: nginx:latest
  ports:
  - name: nginx-port
    containerPort: 80
    protocol: TCP
```

The name can also be used as a value: `config.linkerd.io/opaque-ports:
nginx-port`

Signed-off-by: Kevin Leimkuhler <kevin@kleimkuhler.com>
2020-09-25 15:36:12 -04:00
..
templates Add configuration for opaque ports (#4972) 2020-09-25 15:36:12 -04:00
.helmignore Add Control Plane Helm Templates And Proxy Partials (#3146) 2019-08-06 09:18:19 -07:00
Chart.yaml Update release version in charts and related documentation (#3913) 2020-01-10 11:13:44 -08:00
values.yaml Add Control Plane Helm Templates And Proxy Partials (#3146) 2019-08-06 09:18:19 -07:00