Try to recreate cached file if tmp file is not exist#2441
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mazanax The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
The committers listed above are authorized under a signed CLA. |
|
Welcome @mazanax! |
|
/assign |
|
thanks for the PR. could you add a test case in kubernetes/base/config/kube_config_test.py? |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Fixes an issue where the Kubernetes cluster configuration could not be loaded because the system deleted the temporary file. The issue occurred when working with the Kubernetes cluster in long-running applications (e.g., Celery).
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: