Files
kubernetes/pkg/kubectl/cmd
juanvallejo a872657371 Allow empty annotation values
Annotations with empty values can be used, for example, in diagnostics
logging. This patch removes the client-side check for empty values in
an annotation key-value pair.

**Before**
```
$ kubectl annotate pod zookeeper-1 node-selector="" --overwrite
error: invalid annotation format: node-selector=
```

**After**
```
$ kubectl annotate pod zookeeper-1 node-selector="" --overwrite
pod "zookeper-1" annotated
```

```
$ kubectl get po/zookeeper-1 --template='{{.metadata.annotations}}'
map[... node-selector: test-label:test]
```
2016-10-05 13:17:08 -04:00
..
2016-09-27 23:17:47 +08:00
2016-10-05 13:17:08 -04:00
2016-10-05 13:17:08 -04:00
2016-09-28 10:53:30 -07:00
2016-09-07 09:09:12 +08:00
2016-08-23 14:51:56 +08:00
2016-09-28 10:53:30 -07:00
2016-07-28 17:47:03 +03:00
2016-10-05 13:17:08 -04:00
2016-10-05 13:17:08 -04:00
2016-07-08 13:53:09 +02:00
2016-07-08 13:53:09 +02:00
2016-08-20 15:58:10 +02:00