Skip to content
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

Fast forward to main #141

Merged
merged 2 commits into from
May 15, 2024
Merged

Fast forward to main #141

merged 2 commits into from
May 15, 2024

Conversation

omertuc
Copy link
Member

@omertuc omertuc commented May 15, 2024

No description provided.

omertuc added 2 commits May 9, 2024 17:25
# Background / Context

recert recently added a `--proxy` feature that replaces the proxy
configuration in the cluster

# Issue / Requirement / Reason for change

The `--proxy` feature is not working as expected, some rollouts happen
due to the order of the proxy env vars in the kube-apiserver's and
kube-controller-manager's container's env. Seems to happen a few times
before the cluster stabilizes

This is simply because of a typo in the code, the `HTTP_PROXY` and
`HTTPS_PROXY` env vars are being swapped in the `generic_proxy_fix`
function

# Solution / Feature Overview

Fix the typo in the `generic_proxy_fix` function

# Other Information

The back-and-forth rollouts in e.g. kube-apiserver are due to the
`KubeAPIServer` CR being at first in correct, which causes the
deployment of the `kube-apiserver` to change, then another controller
reads the fixes the `KubeAPIServer` CR itself, which then causes yet
another revision

Also made some changes to the tests, even though those changes would not
have caught this bug.
OCPBUGS-33471: Fix proxy ordering
@openshift-ci openshift-ci bot requested a review from mresvanis May 15, 2024 13:07
Copy link

openshift-ci bot commented May 15, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: omertuc

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@omertuc omertuc merged commit 66414fb into v0 May 15, 2024
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant