We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef6e1bc commit 847fe6fCopy full SHA for 847fe6f
operator/src/main/java/oracle/kubernetes/operator/helpers/PodStepContext.java
@@ -1668,7 +1668,7 @@ private V1Container createMonitoringExporterContainer() {
1668
.image(getDomain().getMonitoringExporterImage())
1669
.imagePullPolicy(getDomain().getMonitoringExporterImagePullPolicy())
1670
.resources(getDomain().getMonitoringExporterResources())
1671
- .securityContext(PodSecurityHelper.getDefaultContainerSecurityContext())
+ .securityContext(getServerSpec().getContainerSecurityContext())
1672
.addEnvItem(new V1EnvVar().name("JAVA_OPTS").value(createJavaOptions()))
1673
.addPortsItem(new V1ContainerPort()
1674
.name("metrics").protocol("TCP").containerPort(getPort()));
0 commit comments