0

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.

Dark Furby
  • 97
  • 1
  • 8

1 Answers1

0

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.

Dharman
  • 30,962
  • 25
  • 85
  • 135
juancho85
  • 2,569
  • 1
  • 9
  • 6
  • I think its not an option. I want to configure a connection from my cluster to external storage and I dont want it to be vulnerable to issues because pod will restart and credentials will be not available. – Dark Furby Oct 09 '20 at 11:25
  • @DarkFurby Is there anything you have tried already? Could you please share some more details? – Wytrzymały Wiktor Oct 13 '20 at 08:43