New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automated cherry pick of #107763: e2e: Wait for kube-root-ca.crt to be created #108860
Automated cherry pick of #107763: e2e: Wait for kube-root-ca.crt to be created #108860
Conversation
The change from service account secrets to projected tokens and the new dependency on kube-root-ca.crt to start pods with those projected tokens means that e2e tests can start before kube-root-ca.crt is created in a namespace. Wait for the default service account AND the kube-root-ca.crt configmap in normal e2e tests.
Now that projected service account tokens do not require the secret to be created, exclude the wait condition on the token and simply wait for the service account.
@eddiezane: This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This cherry pick fixes #108307. The failing test is a skew test that tests older releases of Kubernetes against master. Kubernetes 1.24 no longer auto mounts the default service account token. The 1.23 test waited for the default service account token to be mounted (https://github.com/kubernetes/kubernetes/pull/107763/files#diff-9dcbb8eba12c61d6f3dde188c0b8d8332365139e5062995d322795e02710fb6cL312). The version marker https://storage.googleapis.com/k8s-release-dev/ci/k8s-stable1.txt will need to be updated before this passes. /assign @puerco cc @kubernetes/release-managers @jimangel @kubernetes/ci-signal |
/kind bug |
Thanks a lot @eddiezane 👍 |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: eddiezane, liggitt The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Cherry pick of #107763 on release-1.23.
#107763: e2e: Wait for kube-root-ca.crt to be created
For details on the cherry pick process, see the cherry pick requests page.