mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-28 04:10:09 +00:00
Automatic merge from submit-queue
Update kubectl in addon-manager to v1.5.0-alpha.1
This updates the kubectl version that is vendored into the addon-manager image
`kubectl apply --prune` is currently only implemented in v1.5.0-alpha.1 ea5ecc4145
The kube-addon-manager script will fail on kubectl versions that don't have this flag
https://github.com/kubernetes/kubernetes/blob/master/cluster/addons/addon-manager/kube-addons.sh#L154
addon-manager
The addon-manager periodically kubectl applys the Kubernetes manifest in the /etc/kubernetes/addons directory,
and handles any added / updated / deleted addon.
It supports all types of resource.
The addon-manager is built for multiple architectures.
How to release
- Change something in the source
- Bump
VERSIONin theMakefile - Bump
KUBECTL_VERSIONin theMakefileif required - Build the
amd64image and test it on a cluster - Push all images
# Build for linux/amd64 (default)
$ make push ARCH=amd64
# ---> gcr.io/google-containers/kube-addon-manager-amd64:VERSION
# ---> gcr.io/google-containers/kube-addon-manager:VERSION (image with backwards-compatible naming)
$ make push ARCH=arm
# ---> gcr.io/google-containers/kube-addon-manager-arm:VERSION
$ make push ARCH=arm64
# ---> gcr.io/google-containers/kube-addon-manager-arm64:VERSION
$ make push ARCH=ppc64le
# ---> gcr.io/google-containers/kube-addon-manager-ppc64le:VERSION
If you don't want to push the images, run make or make build instead