kubernetes/test
Anish Ramasekar 7262edeb59
fix(admission): reword NodeRestriction audience authorization error
The previous error message said the audience was "not found in pod
spec volume", which led users to mount a spurious projected service
account token volume in the pod spec to satisfy the check. That is
not the intended remedy: kubelets should be authorized via RBAC to
request tokens for the configured audience.

Reword the error to a generic "is not authorized to request tokens
for audience %q" so users are not pushed toward modifying pod specs.
The valid authorization paths (pod spec volume, CSIDriver tokenRequests,
or the request-serviceaccounts-token-audience verb) are documented
in the kubelet credential provider task page.

Update the unit and integration test expectations to match.
2026-05-13 16:30:51 -07:00
..
cmd Merge pull request #137543 from kfess/bugfix/disable-eviction-dry-run 2026-05-05 15:12:30 +05:30
compatibility_lifecycle Merge pull request #138584 from siyuanfoundation/chore 2026-05-10 10:27:45 +05:30
conformance Merge pull request #134708 from pohly/e2e-unified-meta-labels 2026-04-25 02:50:46 +05:30
declarative_validation Rename validation-gen test fixtures to zz_generated.validations.* prefix 2026-05-12 20:31:33 +00:00
e2e Merge pull request #138961 from soltysh/simplify_exec 2026-05-13 16:00:28 +05:30
e2e_dra Merge pull request #138751 from bart0sh/PR236-e2e_dra-improvements 2026-05-04 18:30:28 +05:30
e2e_kubeadm ktesting: move format package 2026-04-24 21:54:19 +02:00
e2e_node Merge pull request #138617 from esotsal/kubeletHealthCheckRefactor 2026-05-12 02:26:10 +05:30
fixtures kubectl: set KUBECTL_PATH environment variable during plugin execution (#138694) 2026-05-05 13:02:22 +05:30
fuzz switch to latest sigs.k8s.io/yaml v1.5.0 (run update-gofmt.sh as well) 2025-06-25 11:42:12 -04:00
images Merge pull request #138880 from BenTheElder/agnhost-latest 2026-05-09 00:43:21 +05:30
integration fix(admission): reword NodeRestriction audience authorization error 2026-05-13 16:30:51 -07:00
kubemark Update NPD to v1.34.0 2025-09-27 19:57:47 +03:00
list
soak/serve_hostnames Lint: Use modernize/rangeint in test/{e2e,e2e_node,images,soak} 2026-03-07 10:17:31 +01:00
typecheck Retool typecheck to be simpler 2024-02-29 22:07:00 -08:00
utils Merge pull request #138746 from humblec/update-etcd-image-3.6.11 2026-05-12 17:39:32 +05:30
OWNERS emeritus spiffxp 2025-06-10 20:05:40 -07:00