Skip to content

Conversation

@RamLavi
Copy link
Member

@RamLavi RamLavi commented May 8, 2025

To comply with best practices, all the containers in all the pods, must set the TerminationMessagePolicy field to FallbackToLogsOnError [0]

[0]
https://github.com/redhat-best-practices-for-k8s/certsuite/blob/main/CATALOG.md#observability-termination-policy

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer (optional):

@RamLavi RamLavi requested a review from maiqueb as a code owner May 8, 2025 11:07
@maiqueb
Copy link
Collaborator

maiqueb commented May 8, 2025

This request is an OpenShift requirement.

We don't need to set it in this component, but I agree it doesn't hurt ...

@RamLavi
Copy link
Member Author

RamLavi commented May 8, 2025

This request is an OpenShift requirement.

We don't need to set it in this component, but I agree it doesn't hurt ...

It's best practice. I see no harm in adding it to all U/S operands, unless there is an objection from the maintainer.
At the end it's a potential bug we will get on CNAO.

Copy link
Collaborator

@maiqueb maiqueb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

To comply with best practices, all the containers in all the pods, must
set the TerminationMessagePolicy field to FallbackToLogsOnError [0]

[0]
https://github.com/redhat-best-practices-for-k8s/certsuite/blob/main/CATALOG.md#observability-termination-policy

Signed-off-by: Ram Lavi <[email protected]>
@maiqueb
Copy link
Collaborator

maiqueb commented May 8, 2025

The tests are failing, you need to address that first.
@RamLavi

@RamLavi RamLavi force-pushed the add_term_msg_policy branch from ed33cc1 to 8cce074 Compare May 8, 2025 11:25
@RamLavi
Copy link
Member Author

RamLavi commented May 8, 2025

The tests are failing, you need to address that first. @RamLavi

Fixed

@maiqueb maiqueb merged commit 1fd015a into k8snetworkplumbingwg:main May 8, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants