.withName("secret-volume") .withMountPath("/deployments/config") .withReadOnly(false) .endVolumeMount() .endContainer()
.withName("secret-volume") .withMountPath("/deployments/config") .withReadOnly(false) .endVolumeMount() .endContainer()
.withName("secret-volume") .withMountPath("/deployments/config") .withReadOnly(false) .endVolumeMount() .endContainer()
@Override public void visit(ContainerBuilder builder) { String tlsSecretVolumeName = getConfig(Config.tlsSecretVolumeName); if (!isVolumeMountAlreadyExists(builder.buildVolumeMounts(), tlsSecretVolumeName)) { builder.addNewVolumeMount().withName(tlsSecretVolumeName) .withMountPath(getConfig(Config.tlsSecretVolumeMountPoint)).withReadOnly(true) .endVolumeMount(); } String jksVolumeName = getConfig(Config.jksVolumeName); if (!isVolumeMountAlreadyExists(builder.buildVolumeMounts(), jksVolumeName)) { builder.addNewVolumeMount().withName(jksVolumeName) .withMountPath(getConfig(Config.jksVolumeMountPoint)).withReadOnly(true).endVolumeMount(); } }
@Override public void visit(ContainerBuilder builder) { String tlsSecretVolumeName = getConfig(Config.tlsSecretVolumeName); if (!isVolumeMountAlreadyExists(builder.buildVolumeMounts(), tlsSecretVolumeName)) { builder.addNewVolumeMount().withName(tlsSecretVolumeName) .withMountPath(getConfig(Config.tlsSecretVolumeMountPoint)).withReadOnly(true) .endVolumeMount(); } String jksVolumeName = getConfig(Config.jksVolumeName); if (!isVolumeMountAlreadyExists(builder.buildVolumeMounts(), jksVolumeName)) { builder.addNewVolumeMount().withName(jksVolumeName) .withMountPath(getConfig(Config.jksVolumeMountPoint)).withReadOnly(true).endVolumeMount(); } }