The error is:
<span>INFO: Successfully updated the kube config.</span>
<span>Traceback (most recent call last):</span>
<span>File "/pipe.py", line 47, in <module></span>
<span><a href="http://pipe.run/" rel="noopener nofollow noreferrer" target="_blank">pipe.run</a>()</span>
<span>File "/root/.local/lib/python3.8/site-packages/kubectl_run/pipe.py", line 157, in run</span>
<span>self.handle_apply()</span>
<span>File "/root/.local/lib/python3.8/site-packages/kubectl_run/pipe.py", line 114, in handle_apply</span>
<span>self.update_labels_in_metadata(template_file, labels)</span>
<span>File "/root/.local/lib/python3.8/site-packages/kubectl_run/pipe.py", line 37, in update_labels_in_metadata</span>
<span>yaml_doc['metadata'].setdefault('labels', {}).update(labels)</span>
<span>TypeError: 'NoneType' object is not iterable</span>
A label is defined so this should work. What can I do to fix it?