Skip to content

Commit b28b022

Browse files
author
Tom Barnes
committed
turn of validation of replace -f of yaml created via dry run
1 parent 175ccbb commit b28b022

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/integration-tests/bash/lease.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
# Main: See 'function main' below.
77
#
88

9-
set -x
10-
119
function usage {
1210
cat << EOF
1311
@@ -305,7 +303,7 @@ function makeLocalLeaseAndReplaceRemote {
305303
return 1
306304
fi
307305

308-
kubectl replace -f $tempcf
306+
kubectl replace -f $tempcf --validate=false
309307
if [ $? -ne 0 ]; then
310308
traceError "failed - could not get replace remote lease"
311309
return 1

0 commit comments

Comments
 (0)