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.
259
259
Checking to see if the secret domain1-weblogic-credentials exists in namespace default
260
260
Checking if the persistent volume claim wls-azurefile in NameSpace default exists
261
261
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.
263
262
configmap/domain1-create-weblogic-sample-domain-job-cm created
264
263
Checking the configmap domain1-create-weblogic-sample-domain-job-cm was created
265
264
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
119
119
\
120
120
create secret generic \
121
121
$SECRET_NAME $LITERALS $FILENAMES \
122
- --dry-run -o yaml \
122
+ --dry-run=client -o yaml \
123
123
\
124
124
| sed -e ' / name:/a\
125
125
labels:' \
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ function createDomainConfigmap {
185
185
186
186
# create the configmap and label it properly
187
187
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 -
189
189
190
190
echo Checking the configmap $cmName was created
191
191
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 {
176
176
177
177
# create the configmap and label it properly
178
178
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 -
180
180
181
181
echo Checking the configmap $cmName was created
182
182
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 {
173
173
174
174
# create the configmap and label it properly
175
175
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 -
177
177
178
178
echo Checking the configmap $cmName was created
179
179
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
98
98
# (we use an ancient form of sed append to stay compatible with old bash on mac)
99
99
kubectl -n $DOMAIN_NAMESPACE \
100
100
create configmap $CONFIGMAP_NAME $FILENAMES \
101
- --dry-run -o yaml \
101
+ --dry-run=client -o yaml \
102
102
\
103
103
| sed -e ' / name:/a\
104
104
labels:' \
Original file line number Diff line number Diff line change 100
100
function kubectlDryRunCreate() {
101
101
local moredry=" "
102
102
if [ " $DRY_RUN " = " yaml" ]; then
103
- local moredry=" --dry-run -o yaml"
103
+ local moredry=" --dry-run=client -o yaml"
104
104
fi
105
105
cat << EOF
106
106
dryrun:kubectl -n $NAMESPACE create secret generic \\
You can’t perform that action at this time.
0 commit comments