mirror of https://github.com/linkerd/linkerd2.git
The multicluster checks make sure that the correct resources exist for each service mirror controller. When looking up these resources, it uses the `linkerd.io/control-plane-component=linkerd-service-mirror` label selector. However, these resources have the label `linkerd.io/control-plane-component=service-mirror`. This causes the resource lookup to fail to find the resource and the check spuriously fails. ``` × service mirror controller has required permissions missing ServiceAccounts: linkerd-service-mirror-self missing ClusterRoles: linkerd-service-mirror-access-local-resources-self missing ClusterRoleBindings: linkerd-service-mirror-access-local-resources-self missing Roles: linkerd-service-mirror-read-remote-creds-self missing RoleBindings: linkerd-service-mirror-read-remote-creds-self see https://linkerd.io/checks/#l5d-multicluster-source-rbac-correct for hints | * no service mirror controller deployment for Link self ``` Instead, use the correct label selector when looking up these resources. Signed-off-by: Alex Leong <alex@buoyant.io> |
||
---|---|---|
.. | ||
healthcheck.go | ||
healthcheck_addons.go | ||
healthcheck_multicluster.go | ||
healthcheck_test.go | ||
sidecar.go | ||
version.go | ||
version_test.go |