abmramirez commented on issue #41419:
URL: https://github.com/apache/airflow/issues/41419#issuecomment-2320577346
> @abmramirez you might want to ensure that the arguments are properly
escaped or quoted. Does the following work for you?
>
> ```
> task = KubernetesPodOperator(
> task_id='example_task',
> namespace='default',
> image='your-image',
> cmds=["/bin/bash", "-c"],
> arguments=['--data', '{"data": "value with spaces"}'],
> name='example-pod',
> in_cluster=True,
> is_delete_operator_pod=True,
> get_logs=True,
> )
> ```
Hi,
That is how we are sending the parameters and the error still occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]