Files
kubernetes/hack
Kubernetes Submit Queue 83e46f0a9e Merge pull request #55902 from yguo0905/annotations
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Expose single annotation/label via downward API

**What this PR does / why we need it**:

https://github.com/kubernetes/community/blob/master/contributors/design-proposals/node/annotations-downward-api.md

Support exposing single annotation via both env and volume downward API using the following syntax:

```
metadata.annotations['key']
metadata.labels['key']
```

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #

#31218

**Special notes for your reviewer**:

This PR takes over the work in https://github.com/kubernetes/kubernetes/pull/41648.

**Release note**:

```
A single value in metadata.annotations/metadata.labels can be passed into the containers via Downward API
```

/assign @thockin @vishh
2017-11-22 18:54:29 -08:00
..
2017-10-15 18:18:13 -07:00
2017-10-15 18:18:13 -07:00
2017-11-18 20:05:40 +00:00
2017-10-15 18:18:13 -07:00
2017-07-05 14:24:25 -07:00
2017-09-19 18:10:21 +05:30
2017-11-10 09:16:45 +01:00
2017-09-29 15:16:09 -07:00
2017-08-27 22:20:04 -04:00
2017-10-26 13:37:37 -07:00
2017-06-05 13:18:07 -07:00