raphaelauv commented on code in PR #39141:
URL: https://github.com/apache/airflow/pull/39141#discussion_r1573313759


##########
airflow/www/views.py:
##########
@@ -1533,6 +1533,48 @@ def rendered_k8s(self, *, session: Session = 
NEW_SESSION):
             title=title,
         )
 
+    @expose("/object/rendered-k8s")
+    @auth.has_access_dag("GET", DagAccessEntity.TASK_INSTANCE)
+    @provide_session
+    def rendered_k8s_data(self, *, session: Session = NEW_SESSION):
+        """Get rendered k8s yaml."""
+        if not settings.IS_K8S_OR_K8SCELERY_EXECUTOR:

Review Comment:
   what about include KubernetePodOperator ?



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

Reply via email to