File tree 1 file changed +2
-1
lines changed
airflow/providers/cncf/kubernetes/operators 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ class KubernetesPodOperator(BaseOperator):
173
173
They can be exposed as environment vars or files in a volume.
174
174
:param in_cluster: run kubernetes client with in_cluster configuration.
175
175
:param cluster_context: context that points to kubernetes cluster.
176
- Ignored when in_cluster is True. If None, current-context is used.
176
+ Ignored when in_cluster is True. If None, current-context is used. (templated)
177
177
:param reattach_on_restart: if the worker dies while the pod is running, reattach and monitor
178
178
during the next try. If False, always create a new pod for each try.
179
179
:param labels: labels to apply to the Pod. (templated)
@@ -262,6 +262,7 @@ class KubernetesPodOperator(BaseOperator):
262
262
"container_resources" ,
263
263
"volumes" ,
264
264
"volume_mounts" ,
265
+ "cluster_context" ,
265
266
)
266
267
template_fields_renderers = {"env_vars" : "py" }
267
268
You can’t perform that action at this time.
0 commit comments