concept volume mount in category microservice

appears as: volume mounts, volume mounts, The volume mounts
Microservices Security in Action

This is an excerpt from Manning's book Microservices Security in Action.

The whole objective of the init container is to get the two keystores into the Docker container that runs the STS. To do that, we need to have two volume mounts; both volumes (keystore and jwt-keystore) are mapped to the /opt directory. Because we already have volume mounts with these two names (under the secure-sts container in the following listing), the two keystores are also visible to the secure-sts container filesystem.

To learn more about the Istio Ingress gateway Pod, let’s use the following command in listing 12.1 with the correct Pod name. This listing shows only a truncated output with the volume mounts (which we discussed in appendix J and chapter 11), and the code annotations explain some important elements.