linkerd2/pkg
Alex Leong 33ddd4e357
Use correct component name in multicluster checks (#4921)
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>
2020-08-31 13:40:53 -07:00
..
addr Add some unit test (#4853) 2020-08-18 16:10:13 -07:00
admin remove admin server timeouts (#4350) 2020-05-08 12:59:43 -07:00
charts Fix a verb tense error (#4930) 2020-08-31 09:34:03 -05:00
config Web server updated to read the UUID from the linkerd-config ConfigMap. (#2603) 2019-04-08 12:56:00 -07:00
filesonly Enable lint check for comments (#2023) 2019-01-02 14:03:59 -08:00
flags Make service mirror controller per target cluster (#4710) 2020-07-23 14:32:50 -07:00
healthcheck Use correct component name in multicluster checks (#4921) 2020-08-31 13:40:53 -07:00
identity Spelling (#4872) 2020-08-12 21:59:50 -07:00
inject support overriding inbound and outbound connect timeouts. (#4759) 2020-07-27 13:56:21 -07:00
issuercerts Spelling (#4872) 2020-08-12 21:59:50 -07:00
k8s Remove SMI-Metrics charts and commands (#4843) 2020-08-24 14:35:33 -07:00
multicluster Spelling (#4872) 2020-08-12 21:59:50 -07:00
profiles Upgrade generated protobuf files to v1.4.2 (#4673) 2020-06-26 09:36:48 -05:00
prometheus Trace Control plane Components with OC (#3495) 2019-10-18 12:19:13 -07:00
protohttp Fix spelling mistakes using codespell (#4700) 2020-07-07 17:07:22 -05:00
servicemirror Add support for service-mirror selectors (#4795) 2020-07-30 10:07:14 -07:00
tap concatenate additional url paths to protohttp.TapReqToUrl (#4151) 2020-03-11 10:34:05 -07:00
tls Spelling (#4872) 2020-08-12 21:59:50 -07:00
trace Trace Control plane Components with OC (#3495) 2019-10-18 12:19:13 -07:00
util Add unit test for pkg/util/http.go (#4770) 2020-07-21 14:08:53 -07:00
version Update proxy-init version to v1.3.6 (#4850) 2020-08-11 11:54:00 -05:00