The pipe configuration below fails:
INFO: Successfully updated the kube config.
Traceback (most recent call last):
File "/pipe.py", line 47, in <module>
File "/root/.local/lib/python3.8/site-packages/kubectl_run/pipe.py", line 157, in run
File "/root/.local/lib/python3.8/site-packages/kubectl_run/pipe.py", line 114, in handle_apply
File "/root/.local/lib/python3.8/site-packages/kubectl_run/pipe.py", line 37, in update_labels_in_metadata
TypeError: 'NoneType' object is not iterable
Thanks, Igor. I tried to disable the labels as the branch name was longer than 63 characters accepted by Kubectl for a label.
Now, if you can see the script, LABELS is definitely not empty:
@Brad Vrabete Seems like you doing it right and the problem on our side.
The only one temporary solution i can provide is to pass labels directly to your template file "k8s/deploy/aws-dev" under `kind: Deployment metadata`.
Example of the template:
template = """
<pass your custom labels here>
- image: nginx:1.7.9
- containerPort: 80
I actually found an easier way:
Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their Jira Cloud instance. ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events