Open
Description
Describe the Issue
We are using .dockerconfigjson secrets to store credentials to private Azure Container Registry. After upgrade from 1.4.16 to 1.6.0, pods are unable to authenticate to ACR. Error from pod's logs is:
no username present in auth config for server: {REDACTED}.azurecr.io
Steps To Reproduce
- Use virtual kubelet 1.6.0
- Store ACR credentials in a dockerconfigjson secret, e.g.
regcred
- Configure pods to use ACR credentials via
imagePullSecrets:
- name: regcred
- Trigger scaling event to create pods
- Pods are created but report authentication issue
Expected behavior
Pod authenticates to private ACR and ACI is created.
Virtual-kubelet version
1.6.0
Kubernetes version
1.27.3
Additional context
Works as expected when reverted back to 1.4.16
Metadata
Metadata
Assignees
Labels
No labels