Closed barloc closed 2 years ago
I wonder if we should add a global config for this. e.g. add_task_id_postfix in the ariflow config. In any case, this is correct.
Hi I fixed description in the py file and added description for this arguments to README.
Hello 2 parts in this PR. 1 part: fix logic with use of the name_prefix In your code if set empty string to the name_prefix argument, then function uses task_id. IMHO, if we set empty string to the argument, we don't want to use any prefix to pod name (all other types).
2 part: add name_postfix and random_name_postfix_length to the operator. if we want to use ConfigMap with Job(or Pod) ConfigMap must have not random name (without uuid postfix). So such optional arguments are looking not bad :)