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

Move rancher/hardened-kubernetes build to rancher/image-build-kubernetes #1294

Closed
luthermonson opened this issue Jul 14, 2021 · 2 comments
Closed

Comments

@luthermonson
Copy link
Contributor

luthermonson commented Jul 14, 2021

Bring https://github.com/rancher/image-build-kubernetes back to life and up-to-date with the current build scripts, mostly cribbed from image-build-kube-proxy; ensure that it also builds the kube-proxy binary.
History: we stopped using it when we decided to build most of the Kubernetes stuff in RKE2, and kube-proxy in the image-build-kube-proxy repo.

#1190

@luthermonson luthermonson added this to the v1.21.3+rke2r1 milestone Jul 14, 2021
@luthermonson luthermonson self-assigned this Jul 14, 2021
@luthermonson luthermonson added this to To Triage in Development [DEPRECATED] via automation Jul 14, 2021
@rancher-max
Copy link
Contributor

Validated using master branch commit e889d2e273bd88b8ed273207334f394fac0a6a11

  • kube-proxy pod uses correct image: index.docker.io/rancher/hardened-kubernetes:v1.21.3-rke2r1-build20210721
  • k8s version shows correctly and rke2 version specifies correctly still as well:
$ kubectl get nodes
NAME               STATUS   ROLES                       AGE   VERSION
ip-172-31-30-224   Ready    control-plane,etcd,master   73m   v1.21.3+rke2r1

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.3+rke2r1", GitCommit:"ca643a4d1f7bfe34773c74f79527be4afd95bf39", GitTreeState:"clean", BuildDate:"2021-07-21T16:49:24Z", GoVersion:"go1.16.6b7", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.3+rke2r1", GitCommit:"ca643a4d1f7bfe34773c74f79527be4afd95bf39", GitTreeState:"clean", BuildDate:"2021-07-21T16:49:24Z", GoVersion:"go1.16.6b7", Compiler:"gc", Platform:"linux/amd64"}

$ rke2 --version
rke2 version v1.21.3-dev+e889d2e2 (e889d2e273bd88b8ed273207334f394fac0a6a11)
go version go1.16.6b7

Development [DEPRECATED] automation moved this from To Test to Done Issue / Merged PR Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development [DEPRECATED]
Done Issue / Merged PR
Development

No branches or pull requests

2 participants