Add USE_KUBERNETES

This commit is contained in:
Neil Carpenter 2022-12-04 22:06:02 -05:00
parent 16c76af0c0
commit 4a0de99672

View file

@ -39,6 +39,8 @@ if verbose:
agree = [1, True, "true", "True", "yes", "Yes"]
if (os.environ.get("USE_DOCKER")):
id_filename = "/app/already_posted.txt"
elif (os.environ.get("USE_KUBERNETES")):
id_filename = "/data/already_posted.txt"
else:
id_filename = "./already_posted.txt"