Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ CMDS=livenessprobe
all: build

include release-tools/build.make
LDFLAGS = -s -w
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

(Starting a few separate threads)
Why is it necessary in the livenessprobe and not other OCP images? IIRC, we don't stripe any CSI sidecar and most probably no OCP image.

Is there any document that says that OCP binaries need to be stripped?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Working on that now openshift/enhancements#2021

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This is upstream Makefile. If we really need to strip the binary, it would be better to export this env, var in Dockerfile.openshift.rhel7, which we already <carry>, and it won't conflict with any upstream changes to the Makefile.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

ACK I can refactor toward that

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

And please use UPSTREAM: <carry>: in the commit message.


test: test-logcheck