OCPBUGS-84521: set terminationMessagePolicy on kube-rbac-proxy#307
OCPBUGS-84521: set terminationMessagePolicy on kube-rbac-proxy#307twoGiants wants to merge 1 commit into
Conversation
|
@twoGiants: This pull request references Jira Issue OCPBUGS-84521, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
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 openshift-eng/jira-lifecycle-plugin repository. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/cc @mdbooth PTAL, thank you 🙏 |
|
/retest |
|
Ok, all the checks are failing. Maybe this fix needs other past commits for this release -> so maybe I should only set the |
All containers in cluster-machine-approver must set the TerminationMessagePolicy correctly to FallbackToLogsOnError to prevent CI failures in openshift/origin. Issue https://redhat.atlassian.net/browse/OCPBUGS-84521 Signed-off-by: Stanislav Jakuschevskij <sjakusch@redhat.com>
|
/test e2e-hypershift-aks |
|
@twoGiants: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mdbooth 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 |
Important
I am waiting for the openshift/origin#31362 to be merged so that I can perform the Jira steps for the CI bot in this repo to accept this PR.
Summary
Set
terminationMessagePolicy: FallbackToLogsOnErroron thekube-rbac-proxycontainer in the CAPI deployment. It was set toFile, causing CI flakes in[Monitor:termination-message-policy][sig-arch] all containers in ns/openshift-cluster-machine-approver.Additional Info
On main this was fixed by removing kube-rbac-proxy entirely (545d7e4883). On release-4.22 the sidecar is still needed, so we fix the policy instead.
Related: openshift/origin#31362 (removes the stale exemption for this namespace on main in openshift/origin)
Cherry-picking to release-4.21, release-4.20, and release-4.19. Not going further back as this is a Normal priority fix.
Fixes: https://issues.redhat.com/browse/OCPBUGS-84521