Ievgenii Martynenko05/09/2022, 8:49 AM
after examining code we understood that issue comes from https://github.com/PrefectHQ/prefect/blob/9b5fb783d64299a180e5a54ed88ca6d4a1f8fb90/src/prefect/agent/kubernetes/agent.py#L490 . It could be an access issue or missing file, or even a typo in yaml file. There is no error handling or checks to point to root cause properly. MIght be a good minor story to add checks and throw proper exception.
'str' object has no attribute 'setdefault'
Ievgenii Martynenko05/09/2022, 12:26 PM
Ievgenii Martynenko05/09/2022, 1:33 PM