It’s simple to perform a beneficial Pod and therefore records the secret which have brand new SSH secret and you may takes they during the a volume:
This situation illustrates an excellent Pod which takes a secret that features production history and something Pod hence takes a key having decide to try environment back ground.
In most shells, the best way to avoid new password is to try to encircle they which have single prices ( ‘ ). Including, when your actual password is actually S!B\*d$zDsb= , you should perform brand new demand this way:
Notice how the specs for the several Pods disagree only when you look at the you to definitely occupation; that it encourages starting Pods with various capabilities away from a familiar Pod template.
- prod-representative towards prod-db-secret
- test-associate on shot-db-magic
Use case: dotfiles into the a secret volume
It is possible to make important computer data “hidden” because of the defining an option you to begins with a mark.