File tree Expand file tree Collapse file tree 7 files changed +6
-7
lines changed
documentation/3.4/content/samples/azure-kubernetes-service
integration-tests/src/test/resources/bash-scripts
kubernetes/samples/scripts
create-fmw-infrastructure-domain/domain-home-on-pv Expand file tree Collapse file tree 7 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,6 @@ You need to set up the domain configuration for the WebLogic domain.
259259 Checking to see if the secret domain1-weblogic-credentials exists in namespace default
260260 Checking if the persistent volume claim wls-azurefile in NameSpace default exists
261261 The persistent volume claim wls-azurefile already exists in NameSpace default
262- Wwls 07:15:52.866794 53745 helpers.go:535] --dry-run is deprecated and can be replaced with --dry-run=client.
263262 configmap/domain1-create-weblogic-sample-domain-job-cm created
264263 Checking the configmap domain1-create-weblogic-sample-domain-job-cm was created
265264 configmap/domain1-create-weblogic-sample-domain-job-cm labeled
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ elif [ "$DRY_RUN" = "yaml" ]; then
119119 \
120120 create secret generic \
121121 $SECRET_NAME $LITERALS $FILENAMES \
122- --dry-run -o yaml \
122+ --dry-run=client -o yaml \
123123 \
124124 | sed -e ' / name:/a\
125125 labels:' \
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ function createDomainConfigmap {
185185
186186 # create the configmap and label it properly
187187 local cmName=${domainUID} -create-fmw-infra-sample-domain-job-cm
188- kubectl create configmap ${cmName} -n $namespace --from-file $externalFilesTmpDir --dry-run -o yaml | kubectl apply -f -
188+ kubectl create configmap ${cmName} -n $namespace --from-file $externalFilesTmpDir --dry-run=client -o yaml | kubectl apply -f -
189189
190190 echo Checking the configmap $cmName was created
191191 local num=` kubectl get cm -n $namespace | grep ${cmName} | wc | awk ' { print $1; } ' `
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ function createDomainConfigmap {
176176
177177 # create the configmap and label it properly
178178 local cmName=${domainUID} -create-weblogic-sample-domain-job-cm
179- kubectl create configmap ${cmName} -n $namespace --from-file $externalFilesTmpDir --dry-run -o yaml | kubectl apply -f -
179+ kubectl create configmap ${cmName} -n $namespace --from-file $externalFilesTmpDir --dry-run=client -o yaml | kubectl apply -f -
180180
181181 echo Checking the configmap $cmName was created
182182 local num=` kubectl get cm -n $namespace | grep ${cmName} | wc | awk ' { print $1; } ' `
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ function createDomainConfigmap {
173173
174174 # create the configmap and label it properly
175175 local cmName=${domainUID} -update-weblogic-sample-domain-job-cm
176- kubectl create configmap ${cmName} -n $namespace --from-file $externalFilesTmpDir --dry-run -o yaml | kubectl apply -f -
176+ kubectl create configmap ${cmName} -n $namespace --from-file $externalFilesTmpDir --dry-run=client -o yaml | kubectl apply -f -
177177
178178 echo Checking the configmap $cmName was created
179179 local num=` kubectl get cm -n $namespace | grep ${cmName} | wc | awk ' { print $1; } ' `
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ elif [ "$DRY_RUN" = "yaml" ]; then
9898 # (we use an ancient form of sed append to stay compatible with old bash on mac)
9999 kubectl -n $DOMAIN_NAMESPACE \
100100 create configmap $CONFIGMAP_NAME $FILENAMES \
101- --dry-run -o yaml \
101+ --dry-run=client -o yaml \
102102 \
103103 | sed -e ' / name:/a\
104104 labels:' \
Original file line number Diff line number Diff line change 100100function kubectlDryRunCreate() {
101101local moredry=" "
102102if [ " $DRY_RUN " = " yaml" ]; then
103- local moredry=" --dry-run -o yaml"
103+ local moredry=" --dry-run=client -o yaml"
104104fi
105105cat << EOF
106106dryrun:kubectl -n $NAMESPACE create secret generic \\
You can’t perform that action at this time.
0 commit comments