mik-laj commented on a change in pull request #9895:
URL: https://github.com/apache/airflow/pull/9895#discussion_r457582421



##########
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:
       By design, only metadata and a declarative configuration description 
should be included here. Secrets should be in K8s Secrets. 
   See: https://kubernetes.io/docs/concepts/configuration/secret/
   




----------------------------------------------------------------
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]


Reply via email to