Commit 49f650a0 authored by Shiv Singh's avatar Shiv Singh
Browse files

[+] adding exit code for schema container

parent 0e8a36de
Pipeline #101927 passed with stages
in 75 minutes
......@@ -38,4 +38,10 @@ if [ ! -z "$CONFIG_MAP_NAME" -a "$CONFIG_MAP_NAME" != " " ]; then
--from-literal=status="$currentStatus" \
--from-literal=message="$Message" \
-o yaml --dry-run=client | kubectl replace -f -
fi
\ No newline at end of file
fi
if [[ ${currentStatus} == "success" ]]; then
exit 0
else
exit 1
fi
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment