-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix haproxy image build #3350
base: main
Are you sure you want to change the base?
Fix haproxy image build #3350
Conversation
Inherited from: - kubernetes/release#3235 - kubernetes/release#3237 As well as bumping the haproxy version. Tested via: ``` docker buildx build --platform=linux/amd64,linux/arm64 --progress=auto -t gcr.io/k8s-staging-kind/haproxy:v20230905-7dc7aad7 --pull --build-arg GO_VERSION=1.20.4 . ``` Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: saschagrunert The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -28,7 +28,7 @@ RUN [ ! -f /usr/share/copyrights.tar.gz ] || tar -C / -xzvf /usr/share/copyright | |||
# - bash (ldd is a bash script and debian-base removes bash) | |||
# - procps (for `kill` which kind needs) | |||
RUN apt update && \ | |||
apt install -y --no-install-recommends haproxy=2.2.\* \ | |||
apt install -y --no-install-recommends haproxy=2.6.\* \ |
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 can't remember now why we had to stick on 2.2, I think that there was some behavior change we depended on it
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.
just switch back to the prevous debian version, we'll revisit later
cc: @BenTheElder
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.
Doing that in #3351
@@ -41,19 +41,30 @@ package_to_copyright() { | |||
# stage_file stages the filepath $1 to $2, following symlinks | |||
# and staging copyrights | |||
stage_file() { | |||
cp -a --parents "${1}" "${2}" | |||
# /lib is a symlink to /usr/lib in debian 12, means we just stick to |
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.
this seems the problem we have in images/local-path-helper
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 don't need to modify this file, we need to fix images/local-path-helper
/assign @aojea @BenTheElder |
Inherited from:
grep
command kubernetes/release#3237As well as bumping the haproxy version.
Tested via:
Follow-up of #3294