mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
drop unnecessary -f from diff
This commit is contained in:
@@ -28,13 +28,6 @@
|
||||
|
||||
set -x
|
||||
|
||||
target=$1
|
||||
|
||||
echo Kustomizing: \"$target\"
|
||||
ls $target
|
||||
|
||||
tmpDir=$(mktemp -d)
|
||||
|
||||
function configureCluster {
|
||||
kustomize build $target > $tmpDir/my.yaml
|
||||
[[ $? -eq 0 ]] || { exitWith "Failed to kustomize build"; }
|
||||
@@ -115,6 +108,13 @@ function deleteAddedUser {
|
||||
"cn=The Postmaster,dc=example,dc=org"
|
||||
}
|
||||
|
||||
target=$1
|
||||
|
||||
echo Kustomizing: \"$target\"
|
||||
ls $target
|
||||
|
||||
tmpDir=$(mktemp -d)
|
||||
|
||||
configureCluster
|
||||
|
||||
podName=`getPodField '{.items[0].metadata.name}'`
|
||||
|
||||
Reference in New Issue
Block a user