File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
kubernetes/samples/scripts/create-fmw-infrastructure-domain Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ def usage():
230230 '-rcuDb <rcu-database> -rcuPrefix <rcu-prefix> -rcuSchemaPwd <rcu-schema-password> ' \
231231 '-adminListenPort <adminListenPort> -adminName <adminName> ' \
232232 '-managedNameBase <managedNameBase> -managedServerPort <managedServerPort> -prodMode <prodMode> ' \
233- '-managedServerCount <managedCount> -clusterName <clusterName>' \
233+ '-managedServerCount <managedCount> -clusterName <clusterName> ' \
234234 '-exposeAdminT3Channel <quoted true or false> -t3ChannelPublicAddress <address of the cluster> ' \
235235 '-t3ChannelPort <t3 channel port> '
236236 sys .exit (0 )
Original file line number Diff line number Diff line change @@ -128,6 +128,11 @@ function initialize {
128128 validateCommonInputs
129129
130130 initOutputDir
131+ getKubernetesClusterIP
132+ if [ -z " ${t3PublicAddress} " ]; then
133+ t3PublicAddress=" ${K8S_IP} "
134+ fi
135+
131136}
132137
133138# create domain configmap using what is in the createDomainFilesDir
Original file line number Diff line number Diff line change @@ -25,4 +25,4 @@ wlst.sh -skipWLSModuleScanning \
2525 -clusterName ${CUSTOM_CLUSTER_NAME} \
2626 -exposeAdminT3Channel ${EXPOSE_T3_CHANNEL_PREFIX} \
2727 -t3ChannelPublicAddress ${T3_PUBLIC_ADDRESS} \
28- -t3ChannelPort ${T3_CHANNEL_PORT}
28+ -t3ChannelPort ${T3_CHANNEL_PORT}
You can’t perform that action at this time.
0 commit comments