I had a need to protect my Kubernetes config file on my computer against accidental or malicious change or reading, so I came up with this way of protecting the config files.
The ~/.kube folder is mounted using encfs. By using the --ondemand
flag it
will automatically ask for the encryption key/password when accessed and keep