how to use secret on machine where kubernetes cluster is installed?

56 views Asked by At

I have created secret with username and password. Now I want to provide this credentials to other file in my host machine. To connect cloud storage for my cluster. How should I do it? Everywhere I can see how to use secrets on POD but not on host machine.

1

There are 1 answers

2
juancho85 On

I think you could mount the secret on a container using a HostPath volume, which would make it available in the node where it is running.