File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed
java/oracle/kubernetes/operator/helpers Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ Integer getAsPort() {
150
150
*/
151
151
boolean isLocalAdminProtocolChannelSecure () {
152
152
return domainTopology
153
- .getServerConfig (domainTopology . getAdminServerName ())
153
+ .getServerConfig (getServerName ())
154
154
.isLocalAdminProtocolChannelSecure ();
155
155
}
156
156
@@ -620,6 +620,7 @@ void overrideContainerWeblogicEnvVars(List<V1EnvVar> vars) {
620
620
addEnvVar (vars , "ADMIN_NAME" , getAsName ());
621
621
addEnvVar (vars , "ADMIN_PORT" , getAsPort ().toString ());
622
622
if (isLocalAdminProtocolChannelSecure ()) {
623
+ // This env variable indicates whether the administration port in the WLS server on the local pod is secure
623
624
addEnvVar (vars , "ADMIN_PORT_SECURE" , "true" );
624
625
}
625
626
if (isAdminServerProtocolChannelSecure ()) {
Original file line number Diff line number Diff line change 260
260
[ ! $? -eq 0 ] && trace SEVERE " Failed to create '${wl_props_file} '." && exit 1
261
261
262
262
if [ ! " ${ADMIN_NAME} " = " ${SERVER_NAME} " ]; then
263
- ADMIN_URL=$( getAdminUrl )
263
+ ADMIN_URL=$( getAdminServerUrl )
264
264
echo " AdminURL=$ADMIN_URL " >> ${wl_props_file}
265
265
fi
266
266
fi
Original file line number Diff line number Diff line change @@ -399,12 +399,12 @@ checkWebLogicVersion()
399
399
400
400
#
401
401
# getAdminUrl
402
- # purpose: Get the ADMIN_URL used to connect to the admin server internally, e.g. when starting a managed server
402
+ # purpose: Get the admin URL used to connect to the admin server internally, e.g. when starting a managed server
403
403
# sample:
404
- # ADMIN_URL=$(getAdminUrl )
404
+ # ADMIN_URL=$(getAdminServerUrl )
405
405
#
406
- function getAdminUrl () {
407
- admin_protocol=" http"
406
+ function getAdminServerUrl () {
407
+ local admin_protocol=" http"
408
408
if [ " ${ISTIO_ENABLED} " = " true" ]; then
409
409
admin_protocol=" t3"
410
410
fi
You can’t perform that action at this time.
0 commit comments