I am running locally a container as follows:
docker run --rm \
--name=my-container \
--net=host \
-v $(pwd)/producer.properties:/etc/replicator/producer.properties \
-v $(pwd)/consumer.properties:/etc/replicator/consumer.properties \
-v $(pwd)/service-keystore.jks:/etc/replicator/destination.keystore.jks \
-v $(pwd)/service-truststore.jks:/etc/replicator/destination.truststore.jks \
repo/image
The problem is that all files mounted as volumes contain sensitive data.
I am trying to port the above to kubernetes
How can I mount the files, and treat them as secrets at the same time?