-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Adjust to TokenRequest API for external cluster kubeconfig #52229
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
Adjust to TokenRequest API for external cluster kubeconfig #52229
Conversation
in OCP 4.16, service accounts are no longer created with a token secret with them. instead, we need to explicitly request from the API server to create a token for the given ServiceAccount. this PR accomodates this change in the 'create-external-infra-kubeconfig' step in hypershift-kubevirt presubmit e2e workflow Signed-off-by: Oren Cohen <ocohen@redhat.com>
|
[REHEARSALNOTIFIER]
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals. Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
davidvossel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
davidvossel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: davidvossel, orenc1 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/pj-rehearse pull-ci-openshift-hypershift-release-4.15-e2e-kubevirt-aws-ovn |
|
@davidvossel: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
the change in this PR is working, as per: |
|
@orenc1: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
in OCP 4.16, service accounts are no longer created with a token secret with them. instead, we need to explicitly request from the API server to create a token for the given ServiceAccount. this PR accommodates this change in the
create-external-infra-kubeconfigstep in hypershift-kubevirt presubmit e2e workflow.