Miretpl commented on code in PR #69613:
URL: https://github.com/apache/airflow/pull/69613#discussion_r3561197447
##########
providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/operators/pod.py:
##########
@@ -204,6 +204,9 @@ class KubernetesPodOperator(BaseOperator):
:param tolerations: A list of kubernetes tolerations.
:param security_context: security options the pod should run with
(PodSecurityContext).
:param container_security_context: security options the container should
run with.
+ :param xcom_sidecar_container_security_context: security options the xcom
sidecar container should
+ run with. Overrides the value configured on the Kubernetes connection.
Useful for clusters that
+ enforce Pod Security Standards or admission policies (e.g.
OPA/Gatekeeper) on the injected sidecar.
Review Comment:
```suggestion
:param xcom_sidecar_container_security_context: security options the
xcom sidecar container should
run with. Overrides the value configured on the Kubernetes
connection.
```
That part is rather unnecessary for the field definition.
--
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]