diff --git a/DUMMY b/DUMMY deleted file mode 100644 index e69de29..0000000 diff --git a/update_ingresses.py b/update_ingresses.py index 0c07b6b..dd5de4a 100755 --- a/update_ingresses.py +++ b/update_ingresses.py @@ -11,7 +11,7 @@ def main(): # read JSON from stdin - context = json.loads('\n'.join(sys.stdin.readlines())) + context = json.loads(sys.stdin.read()) # iterate ingresses, and for each one, construct the list of whitelisted CIDRs (from its whitelisted networks) # then annotate the ingress to whitelist only the CIDRs collected from those whitelisted networks