kaxil commented on a change in pull request #9895:
URL: https://github.com/apache/airflow/pull/9895#discussion_r457567847
##########
File path: airflow/providers/cncf/kubernetes/operators/kubernetes_pod.py
##########
@@ -378,7 +379,7 @@ def create_new_pod_for_operator(self, labels, launcher) ->
Tuple[State, k8s.V1Po
)
self.pod = pod
- self.log.info("Starting pod %s", pod)
+ self.log.info("Starting pod:\n%s", yaml.safe_dump(pod.to_dict()))
Review comment:
Are there any security implications of doing this? Exposing secrets etc
in the logs
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]