concept volume mount in category microservice

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 (
keystoreandjwt-keystore) are mapped to the /opt directory. Because we already have volume mounts with these two names (under thesecure-stscontainer in the following listing), the two keystores are also visible to thesecure-stscontainer 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.