k3s/cluster/gce
Kubernetes Submit Queue a555044125
Merge pull request #67139 from NetApp/dev-random-fix-67091
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.

Fix an issue about generation of secret key with invalid key size in gce

Replace /dev/random to /dev/urandom to avoid generation of secret key with invalid key size.



**What this PR does / why we need it**:
In GCE env, AESGCM encryption of secrets by default generates a secret key with /dev/random which sometime generates a key with invalid size.
This cause the cluster/kube-up.sh to fail in gce environment.

This PR replaces /dev/random with  /dev/urandom to have a secret key generated consistently with right size.

**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 #67091

**Special notes for your reviewer**:

**Release note**:

```release-note
cluster/gce: generate consistent key sizes in config-default.sh using /dev/urandom instead of /dev/random  
```
2018-09-05 17:13:43 -07:00
..
addons Merge pull request #67224 from grayluck/namespace-cloudprovider-rbac 2018-08-31 19:25:33 -07:00
gci Merge pull request #68161 from tallclair/runtimeclass-addon 2018-09-05 14:51:41 -07:00
manifests Merge pull request #67743 from Random-Liu/kube-addon-extra-prune 2018-08-31 21:56:12 -07:00
BUILD Add unit test for configure-helper. 2018-04-23 12:18:57 -07:00
OWNERS Add jingax10 as both reviewer and approver in cluster/gce. 2018-02-21 22:11:32 -08:00
config-common.sh Bug fix: Should allow alias range size equals to max number of pods * 2 2018-06-27 13:49:01 -07:00
config-default.sh Merge pull request #67139 from NetApp/dev-random-fix-67091 2018-09-05 17:13:43 -07:00
config-test.sh Merge pull request #68100 from vishh/add-node-termination-handle 2018-08-31 16:46:45 -07:00
cos Symlink cluster/gce/cos to cluster/gce/gci 2017-03-15 15:31:51 -07:00
custom add folder named custom in gce 2018-01-05 15:36:53 -08:00
delete-stranded-load-balancers.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
list-resources.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
ubuntu Makes cluster/gce/ubuntu to be a symlink to cluster/gce/gci and changes the gci's [master|node].yaml to enable kubernetes.target. 2017-04-25 16:19:00 -07:00
upgrade-aliases.sh Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
upgrade.sh Move uncordon to after the node is ready 2018-05-11 09:57:04 -07:00
util.sh Merge pull request #68143 from shyamjvs/garbage-collect-kubemark-image 2018-09-03 04:45:32 -07:00