Files
kubernetes/pkg/kubelet
Kubernetes Submit Queue 2eef3b1a14 Merge pull request #41957 from liggitt/mirror-pod-secrets
Automatic merge from submit-queue (batch tested with PRs 41814, 41922, 41957, 41406, 41077)

Use consistent helper for getting secret names from pod

Kubelet secret-manager and mirror-pod admission both need to know what secrets a pod spec references. Eventually, a node authorizer will also need to know the list of secrets.

This creates a single (well, double, because api versions) helper that can be used to traverse the secret names referenced from a pod, optionally short-circuiting (for places that are just looking to see if any secrets are referenced, like admission, or are looking for a particular secret ref, like authorization)

Fixes:
* secret manager not handling secrets used by env/envFrom in initcontainers
* admission allowing mirror pods with secret references

@smarterclayton @wojtek-t
2017-02-26 10:22:51 -08:00
..
2017-01-25 13:52:24 -08:00
2017-01-29 21:41:45 +01:00
2017-01-20 08:04:53 -05:00
2017-02-20 21:49:42 +08:00
2017-02-22 16:38:09 -08:00
2017-02-11 22:28:24 +08:00
2017-01-31 19:14:13 -05:00
2017-01-31 19:14:13 -05:00
2017-01-31 19:14:13 -05:00
2016-11-23 15:53:09 -08:00
2017-01-19 11:04:57 -08:00
2017-01-31 19:14:13 -05:00
2017-01-31 19:14:13 -05:00
2017-01-11 09:09:48 -05:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00