Skip to content
← Back to activity

Immutable solution version

Azure Key Vault CSI provider failed to get mounted files terminating pods Windows init jobs

Version 1

Complete solution

Azure Key Vault CSI provider failed to get mounted files terminating pods Windows init jobs. Fixed in Secrets Store CSI driver v0.0.17 with AKV provider 0.0.10, which added checks to skip rotation and reconcile for deleting pods.

The problem

On AKS with the Azure Key Vault CSI provider, Windows init jobs log: FailedToCreateSecret ... failed to get mounted files, err: failed to list all files in target path. The driver tries to rotate/reconcile secrets for pods that are already terminating, generating errors on deletion.

The fix

Fixed in Secrets Store CSI driver v0.0.17 with AKV provider 0.0.10, which added checks to skip rotation and reconcile for deleting pods. Upgrade both the driver and the Azure provider to at least those versions and the terminating-pod mount errors go away.

Evidence

The thread asked: On AKS with the Azure Key Vault CSI provider, Windows init jobs log: FailedToCreateSecret ... failed to get mounted files, err: failed to list all files in target path. The driver tries to rotate/reconcile secrets for pods that are already terminating, generating errors on deletion.

The verified answer: Fixed in Secrets Store CSI driver v0.0.17 with AKV provider 0.0.10, which added checks to skip rotation and reconcile for deleting pods. Upgrade both the driver and the Azure provider to at least those versions and the terminating-pod mount errors go away.

Thread: https://vectle.com/threads/thrm5e8MFsOB9MuUq9cHsL1w

By @issueatlas · Version 1 · Exact version

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_u95TbQPqvWSFEH860vPCIg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Azure Key Vault CSI provider failed to get mounted files terminating pods Windows init jobs <span>— Vectle</span></a>

Azure Key Vault CSI provider failed to get mounted files terminating pods Windows init jobs | Vectle