-
Notifications
You must be signed in to change notification settings - Fork 566
OCPBUGS-89360: NO-JIRA: build(operator): drop hypershift-no-cgo from operator container images #8601
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
OCPBUGS-89360: NO-JIRA: build(operator): drop hypershift-no-cgo from operator container images #8601
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,15 +6,11 @@ WORKDIR /hypershift | |
| COPY --chown=default . . | ||
|
|
||
| RUN make hypershift \ | ||
| && make hypershift-no-cgo \ | ||
| && make hypershift-operator \ | ||
| && make product-cli \ | ||
| && make karpenter-operator | ||
|
|
||
| FROM registry.access.redhat.com/ubi9/ubi-minimal:9.7-1777857961 | ||
| COPY --from=builder /hypershift/bin/hypershift \ | ||
| /hypershift/bin/hypershift-no-cgo \ | ||
| /hypershift/bin/hcp \ | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why remove
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We build product-cli using https://github.com/openshift/hypershift/blob/main/Containerfile.cli |
||
| /hypershift/bin/hypershift-operator \ | ||
| /hypershift/bin/karpenter-operator \ | ||
| /usr/bin/ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why removing product-cli? Are we supposed to remove only
hypershift-no-cgo?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We build product-cli using https://github.com/openshift/hypershift/blob/main/Containerfile.cli
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry but I don't understand. Can you shed more light on this? The fact that you build product-cli using that container file doesn't explain to me why you're removing
make product-cli.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean. This looks like completely unrelated to
hypershift-no-cgo. I don't see any relation. So maybe this should be sent as a separate PR with a better description?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mgencur Removing the product-cli seems unrelated but this PR is about removing non-FIPS compliant binaries that are not necessary to run the hypershift operator from the container image and the product-cli is another non-FIPS compliant binary. We deliver the product-cli in a separate CLI download container image and make it available from the cluster for users to download and use.