Skip to content

[release-3.8] Poll for server start using impersonation#17975

Merged
openshift-merge-robot merged 1 commit intoopenshift:release-3.8from
openshift-cherrypick-robot:cherry-pick-17613-to-release-3.8
Jan 5, 2018
Merged

[release-3.8] Poll for server start using impersonation#17975
openshift-merge-robot merged 1 commit intoopenshift:release-3.8from
openshift-cherrypick-robot:cherry-pick-17613-to-release-3.8

Conversation

@openshift-cherrypick-robot
Copy link
Copy Markdown

This is an automated cherry-pick of #17613

/assign liggitt

When we poll for server start on `/healthz` and/or `/healthz/ready` with
the administrative `$KUBECONFIG` we do so as part of the
`system:masters` group and therefore the response fromt these endpoints
will succeed before the RBAC system is initialized as we bypass it.
Using impersonation here allows the poll on these endpoints to not only
wait for the server to start but also to wait for the RBAC
initialization.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jan 3, 2018
@liggitt
Copy link
Copy Markdown
Contributor

liggitt commented Jan 3, 2018

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 3, 2018
@openshift-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: liggitt, openshift-cherrypick-robot

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 3, 2018
@liggitt
Copy link
Copy Markdown
Contributor

liggitt commented Jan 3, 2018

fixed flake seen in #17819

@liggitt
Copy link
Copy Markdown
Contributor

liggitt commented Jan 4, 2018

/retest

@liggitt
Copy link
Copy Markdown
Contributor

liggitt commented Jan 4, 2018

/srv/origin-local-release/repodata/repomd.xml issue

@0xmichalis
Copy link
Copy Markdown
Contributor

/retest

@0xmichalis
Copy link
Copy Markdown
Contributor

#17330

/retest

@liggitt
Copy link
Copy Markdown
Contributor

liggitt commented Jan 5, 2018

/retest

@openshift-merge-robot
Copy link
Copy Markdown
Contributor

Automatic merge from submit-queue.

@openshift-merge-robot openshift-merge-robot merged commit 18bf801 into openshift:release-3.8 Jan 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. queue/fix retest-not-required size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants