Files
kubernetes/pkg/kubectl
Kubernetes Submit Queue 2cf5118abb Merge pull request #49961 from mtaufen/kubectl-hash
Automatic merge from submit-queue (batch tested with PRs 49961, 50005, 50738, 51045, 49927)

Add --append-hash flag to kubectl create configmap/secret

**What this PR does / why we need it**:
Specifying this new flag will automatically hash the configmap/secret
contents with sha256 and append the first 40 hex-encoded bits of the
hash to the name of the configmap/secret. This is especially useful for
workflows that generate configmaps/secrets from files (e.g.
--from-file).

See this Google doc for more background:
https://docs.google.com/document/d/1x1fJ3pGRx20ujR-Y89HUAw8glUL8-ygaztLkkmQeCdU/edit

**Release note**:
```release-note
Adds --append-hash flag to kubectl create configmap/secret, which will append a short hash of the configmap/secret contents to the name during creation.
```
2017-08-29 21:43:29 -07:00
..
2017-08-17 12:18:57 -07:00
2017-08-16 10:58:51 +02:00
2017-06-22 11:31:03 -07:00
2017-06-22 11:31:03 -07:00
2017-08-24 16:43:03 -07:00
2017-01-20 08:04:53 -05:00
2017-06-03 14:35:49 +08:00
2017-01-25 17:32:22 -08:00
2017-07-23 02:12:53 +08:00
2017-07-25 11:47:57 -07:00
2017-08-09 10:37:03 +08:00
2017-06-22 11:31:03 -07:00