amoghrajesh commented on code in PR #62129:
URL: https://github.com/apache/airflow/pull/62129#discussion_r2826389023


##########
providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/executors/kubernetes_executor_utils.py:
##########
@@ -618,6 +660,19 @@ def delete_pod(self, pod_name: str, namespace: str) -> 
None:
             # If the pod is already deleted
             if str(e.status) != "404":
                 raise
+        self._delete_workload_secret(f"airflow-workload-{pod_name}", namespace)

Review Comment:
   Irrelevant part of code now with ownerRefs coming in. I removed this bit



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