k3s/pkg/kubectl/util
Michael Taufen 503a6a8eec Add --append-hash flag to kubectl create configmap/secret
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).

Note that vowels and vowel-like characters in the hash are remapped to
consonants to make it more difficult to accidentally form bad words.

See this Google doc for more background:
https://docs.google.com/document/d/1x1fJ3pGRx20ujR-Y89HUAw8glUL8-ygaztLkkmQeCdU/edit
2017-08-28 14:17:47 -07:00
..
crlf Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
hash Add --append-hash flag to kubectl create configmap/secret 2017-08-28 14:17:47 -07:00
i18n Italian translation 2017-08-23 08:45:26 +02:00
logs Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
slice Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
term Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
BUILD Add --append-hash flag to kubectl create configmap/secret 2017-08-28 14:17:47 -07:00
umask.go switch from package syscall to x/sys/unix 2017-07-21 12:14:42 +02:00
umask_windows.go fix cross build for windows 2017-07-05 12:42:41 -07:00
util.go **What this PR does / why we need it**: 2017-05-21 20:44:21 -07:00