mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-25 17:27:30 +00:00
When a pod uses a service account that references multiple secrets,
prefer the secrets in the order they're listed.
Without this change, the added test fails:
--- FAIL: TestMultipleReferencedSecrets (0.00s)
admission_test.go:832: expected first referenced secret to be mounted, got "token2"