linkerd2/multicluster/values
Alejandro Pedraza 9058a07360
Fix MC gateway UID when installing through CLI (#9717)
When installing the multicluster extension through the CLI, the gateway's `pause` container `runAsUser` field is empty. K8s then uses the UID defined in the `pause` image, which is [65535](https://github.com/kubernetes/kubernetes/blob/master/build/pause/Dockerfile#L19).

The source of the problem is that the `gateway.UID` values.yaml entry isn't backed by an entry in the multicluster `values.go`'s `Gateway` struct.

How to repro:

```bash
# before the fix
$ linkerd mc install --ignore-cluster | grep runAsUser
            runAsUser:

# after the fix
$ linkerd mc install --ignore-cluster | grep runAsUser
            runAsUser: 2103
```
2022-11-03 15:12:09 -05:00
..
values.go Fix MC gateway UID when installing through CLI (#9717) 2022-11-03 15:12:09 -05:00