diff --git a/applyset-deploy.sh b/applyset-deploy.sh index adaea82..81bc8dc 100644 --- a/applyset-deploy.sh +++ b/applyset-deploy.sh @@ -14,7 +14,11 @@ set +e if [ -z "$previous_manifest" ]; then echo No previous manifest found! else - $DYFF between --set-exit-code <(echo $previous_manifest) $MANIFEST + $DYFF between <(echo $previous_manifest) $MANIFEST \ + --exclude-regexp metadata.labels.kubenix/hash \ + --exclude-regexp labels.kubenix/hash \ + --set-exit-code + if [ $? -eq 0 ]; then exit 0 fi