Open amirshabanics opened 2 months ago
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
If you dont need env_vars
, then the kubernetes
block its self is not required? are you passing any other variables under kubernetes
except env_vars? if none of the variables your using you can simply remove the block it should work.
+1 on this. I also think that we should add a documentation on how the template_spec
should be structured. It's not really user friendly right now. I am willing to contribute to this if needed.
If you dont need
env_vars
, then thekubernetes
block its self is not required? are you passing any other variables underkubernetes
except env_vars? if none of the variables your using you can simply remove the block it should work.
You can try. If I remove any of the Kubernetes variables raise an exception.
Apache Airflow Provider(s)
cncf-kubernetes
Versions of Apache Airflow Providers
apache-airflow-providers-cncf-kubernetes==8.3.1
Apache Airflow version
2.9.2
Operating System
Ubuntu 24.04 LTS
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
What happened
I want to create a SparkKubernetesOperator task. So I make a manifest and pass it from params. My manifest:
If I don't set
env_vars
, it raises an error:It can be happened for all variables in
kubernetes
spec.What you think should happen instead
This variable has a default value.
How to reproduce
Just remove the line that
env_vars
exists.Anything else
No response
Are you willing to submit PR?
Code of Conduct