This is a docker container intended to run inside a kubernetes cluster to collect config maps with a specified label and store the included files in a local folder.
MIT License
613
stars
183
forks
source link
BUG: With METHOD SLEEP deleting configmap does not delete the file. #311
I'm having issues with METHOD: "SLEEP". I'm getting the below error when I use something like the config I've specified. To be more precise this happens when a configmap is deleted.
Version: v1.25.2
ERROR:
Traceback (most recent call last):
File "/app/resources.py", line 300, in _update_file
return remove_file(dest_folder, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/helpers.py", line 103, in remove_file
complete_file = os.path.join(folder, filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen posixpath>", line 76, in join
TypeError: expected str, bytes or os.PathLike object, not NoneType
I'm having issues with METHOD: "SLEEP". I'm getting the below error when I use something like the config I've specified. To be more precise this happens when a configmap is deleted.
Version: v1.25.2
ERROR:
CONFIG: