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


##########
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)
+
+    def _delete_workload_secret(self, secret_name: str, namespace: str) -> 
None:

Review Comment:
   Umm interesting take, let me try and do that.



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