linkerd2/pkg/k8s
Alejandro Pedraza 7efe385feb
Have the Webhook react to pod creation/update only (#2472)
Have the Webhook react to pod creation/update only

This was already working almost out-of-the-box, just had to:

- Change the webhook config so it watches pods instead of deployments
- Grant some extra ClusterRole permissions
- Add the piece that figures what's the OwnerReference and add the label
for it
- Manually inject service account mount paths
- Readd volumes tests

Fixes #2342 and #1751

Signed-off-by: Alejandro Pedraza <alejandro@buoyant.io>
2019-03-26 11:53:56 -05:00
..
testdata Fix handling of kubeconfig server urls that include paths (#2305) 2019-02-18 17:57:27 -08:00
api.go lint: Enable goimports (#2366) 2019-02-25 15:51:10 -08:00
api_test.go Fix handling of kubeconfig server urls that include paths (#2305) 2019-02-18 17:57:27 -08:00
authz.go Remove single namespace functionality (#2474) 2019-03-12 00:17:22 -07:00
authz_test.go Remove single namespace functionality (#2474) 2019-03-12 00:17:22 -07:00
k8s.go Wire up stats for Jobs (#2416) 2019-03-01 17:16:54 -08:00
k8s_test.go Fix handling of kubeconfig server urls that include paths (#2305) 2019-02-18 17:57:27 -08:00
kubectl.go Check kubectl version as part of checks (#2358) 2019-03-01 10:03:59 -08:00
kubectl_test.go Check kubectl version as part of checks (#2358) 2019-03-01 10:03:59 -08:00
labels.go Have the Webhook react to pod creation/update only (#2472) 2019-03-26 11:53:56 -05:00
labels_test.go Provide peer Identities via the Destination API (#2537) 2019-03-22 09:19:14 -07:00
portforward.go proxy: Upgrade to identity-capable proxy (#2524) 2019-03-19 14:20:39 -07:00
portforward_test.go proxy: Upgrade to identity-capable proxy (#2524) 2019-03-19 14:20:39 -07:00
test_helper.go Have `NewFakeClientSets()` not swallow errors when parsing YAML (#2454) 2019-03-06 13:53:04 -05:00
version.go Remove kubectl dependency, validate k8s server version via api (#396) 2018-02-20 12:14:11 -08:00
version_test.go Remove kubectl dependency, validate k8s server version via api (#396) 2018-02-20 12:14:11 -08:00