Relative Content

Tag Archive for kubernetes-secrets

Proper way to mount some files from secret with specified name

I have an external secret that contains certificate, keystore and truststore generated by cert-manager. So it contains keystore.jks, truststore.jks + some other files.
I need to use this keystore.jks in my application, but it expect specific name of the keystore (something like client_certificate.jks) that I can’t change now.
For now I solve it this way: