Files
kubernetes/pkg/api
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-11 09:09:48 -05:00
2017-02-02 15:19:04 +01:00
2017-01-11 09:09:48 -05:00
2017-01-29 21:41:45 +01:00
2017-02-03 17:37:42 +08:00
2017-02-14 11:47:23 -05:00
2017-02-09 11:42:22 -05:00
2017-01-19 09:50:16 -05:00
2016-07-16 13:48:21 -04:00
2016-09-28 10:53:30 -07:00
2017-01-31 19:14:13 -05:00
2017-01-31 19:14:13 -05:00
2017-02-14 11:47:23 -05:00
2017-02-23 12:23:03 +01:00