mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
Fix for issue #67091
Replace /dev/random to /dev/urandom to avoid generation of secret key with invalid key size.
This commit is contained in:
parent
f42f6d822f
commit
0f9c7b4c21
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,7 @@ resources:
|
|||
- aesgcm:
|
||||
keys:
|
||||
- name: key1
|
||||
secret: $(dd if=/dev/urandom bs=32 count=1 2>/dev/null | base64 | tr -d '\r\n')
|
||||
secret: $(dd if=/dev/urandom iflag=fullblock bs=32 count=1 2>/dev/null | base64 | tr -d '\r\n')
|
||||
EOM
|
||||
)
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue