mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Use Kubernetes 1.21.4 for API backward compatibility
This commit is contained in:
parent
6e544cfc63
commit
ff2ed66c6a
1 changed files with 2 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ FROM golang:${GOLANG_VERSION}-alpine${ALPINE_VERSION} as build
|
|||
LABEL maintainer="GitLab Distribution Team" \
|
||||
description="Build base image for the GitLab Operator project."
|
||||
|
||||
ARG KUBERNETES_VERSION=1.22.1
|
||||
ARG KUBERNETES_VERSION=1.21.4
|
||||
ARG KUBEBUILDER_VERSION=3.2.0
|
||||
ARG YQ_VERSION=4.7.0
|
||||
ARG HELM_VERSION=3.5.2
|
||||
|
|
@ -71,7 +71,7 @@ RUN mkdir -p /usr/local/kubebuilder/bin \
|
|||
&& curl --retry 6 -Ls -o /usr/local/kubebuilder/bin/kubebuilder \
|
||||
https://github.com/kubernetes-sigs/kubebuilder/releases/download/v${KUBEBUILDER_VERSION}/kubebuilder_linux_amd64 \
|
||||
&& curl --retry 6 -Ls "https://go.kubebuilder.io/test-tools/${KUBERNETES_VERSION}/linux/amd64" | tar -xz -C /usr/local/kubebuilder --strip-components=1 \
|
||||
&& chmod +x /usr/local/kubebuilder/bin/* \
|
||||
&& chmod +x /usr/local/kubebuilder/bin/* \
|
||||
&& ln -sfv /usr/local/kubebuilder/bin/* /usr/local/bin
|
||||
|
||||
# Yq
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue