Skip to content
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

Revert k8s126 update #2727

Merged
merged 2 commits into from
Jul 11, 2023
Merged

Revert k8s126 update #2727

merged 2 commits into from
Jul 11, 2023

Conversation

tmjd
Copy link
Member

@tmjd tmjd commented Jul 11, 2023

Description

The update to K8s v1.26 pins has broken our ability to wait to establish watches after the apiserver comes up. I've reverted the commit (originally part of #2586) and added back a change that was in that commit to strip out symbols from the built binary.

For PR author

  • Tests for change.
  • If changing pkg/apis/, run make gen-files
  • If changing versions, run make gen-versions

For PR reviewers

A note for code reviewers - all pull requests must have the following:

  • Milestone set according to targeted release.
  • Appropriate labels:
    • kind/bug if this is a bugfix.
    • kind/enhancement if this is a a new feature.
    • enterprise if this PR applies to Calico Enterprise only.

@@ -265,7 +265,7 @@ endif
BINDIR?=build/init/bin
$(BINDIR)/kubectl:
mkdir -p $(BINDIR)
curl -L https://storage.googleapis.com/kubernetes-release/release/v1.26.3/bin/linux/$(ARCH)/kubectl -o $@
curl -L https://storage.googleapis.com/kubernetes-release/release/v1.25.6/bin/linux/$(ARCH)/kubectl -o $@
Copy link
Member

Choose a reason for hiding this comment

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

nit: Do we want do use also 1.25.10 here?

k8s.io/kube-aggregator v0.26.3
k8s.io/utils v0.0.0-20230313181309-38a27ef9d749
sigs.k8s.io/controller-runtime v0.14.6
k8s.io/api v0.25.8
Copy link
Member

Choose a reason for hiding this comment

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

There is now also:

	k8s.io/api v0.25.10
	k8s.io/apiextensions-apiserver v0.25.10
	k8s.io/apimachinery v0.25.10
	k8s.io/client-go v0.25.10
	k8s.io/kube-aggregator v0.25.10

Copy link
Member Author

Choose a reason for hiding this comment

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

Lets do this in a follow up one, I don't want to hold this up any.

Copy link
Member

@rene-dekker rene-dekker left a comment

Choose a reason for hiding this comment

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

lgtm

@tmjd
Copy link
Member Author

tmjd commented Jul 11, 2023

This isn't needed to master. I need to update my other PR with a CRD update because it changed k8s versions.

@tmjd
Copy link
Member Author

tmjd commented Jul 11, 2023

I closed the wrong PR

From the original PR
> add the -s flag to reduce binary size / strip symbols

* Also fix Copyright in file changed in revert
* Update CRDs since k8s version changed
@tmjd tmjd merged commit e2612ec into tigera:master Jul 11, 2023
@tmjd tmjd deleted the revert-k8s126-update branch July 11, 2023 20:03
tmjd added a commit that referenced this pull request Jul 11, 2023
[pick #2727] Revert k8s 1.26 update [r1.30]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants