@@ -94,7 +94,6 @@ public abstract class PodHelperTestBase {
94
94
private static final int CONFIGURED_PERIOD = 35 ;
95
95
private static final String LOG_HOME = "/shared/logs" ;
96
96
private static final String NODEMGR_HOME = "/u01/nodemanager" ;
97
- private static final String CREDENTIALS_VOLUME_NAME = "weblogic-credentials-volume" ;
98
97
private static final String CONFIGMAP_VOLUME_NAME = "weblogic-domain-cm-volume" ;
99
98
private static final String SIT_CONFIG_MAP_VOLUME_SUFFIX =
100
99
"-weblogic-domain-introspect-cm-volume" ;
@@ -271,7 +270,6 @@ public void whenPodCreated_containerHasExpectedVolumeMounts() {
271
270
writableVolumeMount ("weblogic-domain-storage-volume" , "/shared" ),
272
271
writableVolumeMount (
273
272
UID + SIT_CONFIG_MAP_VOLUME_SUFFIX , "/weblogic-operator/introspector" ),
274
- readOnlyVolumeMount ("weblogic-credentials-volume" , "/weblogic-operator/secrets" ),
275
273
readOnlyVolumeMount ("weblogic-domain-debug-cm-volume" , "/weblogic-operator/debug" ),
276
274
readOnlyVolumeMount ("weblogic-domain-cm-volume" , "/weblogic-operator/scripts" )));
277
275
}
@@ -284,7 +282,6 @@ public void whenPodCreated_withNoPVC_containerHasExpectedVolumeMounts() {
284
282
containsInAnyOrder (
285
283
writableVolumeMount (
286
284
UID + SIT_CONFIG_MAP_VOLUME_SUFFIX , "/weblogic-operator/introspector" ),
287
- readOnlyVolumeMount ("weblogic-credentials-volume" , "/weblogic-operator/secrets" ),
288
285
readOnlyVolumeMount ("weblogic-domain-debug-cm-volume" , "/weblogic-operator/debug" ),
289
286
readOnlyVolumeMount ("weblogic-domain-cm-volume" , "/weblogic-operator/scripts" )));
290
287
}
@@ -426,13 +423,6 @@ public void whenDomainSpecifiesClaimName_podSpecUsesIt() {
426
423
assertThat (storageVolume .getPersistentVolumeClaim ().getClaimName (), equalTo ("predefined" ));
427
424
}
428
425
429
- @ Test
430
- public void createdPod_hasCredentialsVolume () {
431
- V1Volume credentialsVolume = getVolumeWithName (getCreatedPod (), CREDENTIALS_VOLUME_NAME );
432
-
433
- assertThat (credentialsVolume .getSecret ().getSecretName (), equalTo (ADMIN_SECRET_NAME ));
434
- }
435
-
436
426
@ Test
437
427
public void createdPod_hasConfigMapVolume () {
438
428
V1Volume credentialsVolume = getVolumeWithName (getCreatedPod (), CONFIGMAP_VOLUME_NAME );
0 commit comments