Exclude kubenix hashes in manifest diff
This commit is contained in:
parent
8c02a9b627
commit
6150b95988
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue