File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
main/java/oracle/kubernetes/operator/helpers
test/java/oracle/kubernetes/operator/helpers Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -482,7 +482,6 @@ private void addInitDomainOnPVInitContainer(List<V1Container> initContainers) {
482
482
initContainers .add (new V1Container ()
483
483
.name (INIT_DOMAIN_ON_PV_CONTAINER )
484
484
.image (getDomain ().getSpec ().getImage ())
485
- .volumeMounts (getDomain ().getAdminServerSpec ().getAdditionalVolumeMounts ())
486
485
.addVolumeMountsItem (new V1VolumeMount ().name (SCRIPTS_VOLUME ).mountPath (SCRIPTS_MOUNTS_PATH ))
487
486
.addVolumeMountsItem (new V1VolumeMount ().name (AUXILIARY_IMAGE_INTERNAL_VOLUME_NAME )
488
487
.mountPath (AUXILIARY_IMAGE_TARGET_PATH ))
Original file line number Diff line number Diff line change @@ -1568,7 +1568,6 @@ void introspectorPodSpec_createdWithInitDomainOnPVInitContainerHasCorrectVolumeM
1568
1568
.withLogHome ("/share/logs/domain1" )
1569
1569
.withDomainHomeSourceType (DomainSourceType .PERSISTENT_VOLUME )
1570
1570
.withAdditionalVolume ("volume1" , VOLUME_PATH_1 )
1571
- .withAdditionalVolumeMount ("volume1Mount" , VOLUME_MOUNT_PATH_1 )
1572
1571
.withInitializeDomainOnPV (new InitializeDomainOnPV ()
1573
1572
.domain (new DomainOnPV ().createMode (CreateIfNotExists .DOMAIN_AND_RCU )
1574
1573
.domainType (JRF )
@@ -1585,7 +1584,7 @@ void introspectorPodSpec_createdWithInitDomainOnPVInitContainerHasCorrectVolumeM
1585
1584
.map (V1Container ::getVolumeMounts ).orElse (Collections .emptyList ()).stream ()
1586
1585
.map (V1VolumeMount ::getMountPath )
1587
1586
.collect (Collectors .toList ()),
1588
- hasItems (SCRIPTS_MOUNTS_PATH , "/tmpAuxiliaryImage" , VOLUME_MOUNT_PATH_1 ));
1587
+ hasItems (SCRIPTS_MOUNTS_PATH , "/tmpAuxiliaryImage" ));
1589
1588
1590
1589
}
1591
1590
You can’t perform that action at this time.
0 commit comments