Update README.md

This commit is contained in:
Sambo Chea 2021-10-10 20:43:07 +07:00 committed by GitHub
parent 73a076a015
commit 2b47ed900a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -241,5 +241,15 @@ openssl x509 -pubkey -in /etc/kubernetes/pki/ca.crt | openssl rsa -pubin -outfor
openssl dgst -sha256 -hex | sed 's/^.* //' openssl dgst -sha256 -hex | sed 's/^.* //'
``` ```
#### Fix Helm Kube Config
```text
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: ~/.kube/config
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: ~/.kube/config
```
```shell
chmod o-r ~/.kube/config
chmod g-r ~/.kube/config
```
#### References #### References
- https://kubernetes.io/docs/setup/production-environment/container-runtimes/#docker - https://kubernetes.io/docs/setup/production-environment/container-runtimes/#docker