update kubectl to current version (1.32.1)
Signed-off-by: Daniel Kugler <DerDaku@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									41d8070b85
								
							
						
					
					
						commit
						0421f7080f
					
				|  | @ -1,6 +1,6 @@ | ||||||
| HELM_VERSION ?= v3.7.2 | HELM_VERSION ?= v3.7.2 | ||||||
| KUSTOMIZE_VERSION ?= v5.4.3 | KUSTOMIZE_VERSION ?= v5.4.3 | ||||||
| K8S_VERSION ?= v1.30.8 | K8S_VERSION ?= v1.32.1 | ||||||
| MINIKUBE_VERSION ?= v1.31.1 | MINIKUBE_VERSION ?= v1.31.1 | ||||||
| SOPS_VERSION ?= v3.9.3 | SOPS_VERSION ?= v3.9.3 | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -50,12 +50,12 @@ RUN set -x && \ | ||||||
| # using the install documentation found at https://kubernetes.io/docs/tasks/tools/install-kubectl/ | # using the install documentation found at https://kubernetes.io/docs/tasks/tools/install-kubectl/ | ||||||
| # for now but in a future version of alpine (in the testing version at the time of writing) | # for now but in a future version of alpine (in the testing version at the time of writing) | ||||||
| # we should be able to install using apk add. | # we should be able to install using apk add. | ||||||
| ENV KUBECTL_VERSION="v1.30.8" | ENV KUBECTL_VERSION="v1.32.1" | ||||||
| RUN set -x && \ | RUN set -x && \ | ||||||
|     curl --retry 5 --retry-connrefused -LO "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/${TARGETOS}/${TARGETARCH}/kubectl" && \ |     curl --retry 5 --retry-connrefused -LO "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/${TARGETOS}/${TARGETARCH}/kubectl" && \ | ||||||
|     case ${TARGETPLATFORM} in \ |     case ${TARGETPLATFORM} in \ | ||||||
|     "linux/amd64")  KUBECTL_SHA256="7f39bdcf768ce4b8c1428894c70c49c8b4d2eee52f3606eb02f5f7d10f66d692"  ;; \ |     "linux/amd64")  KUBECTL_SHA256="e16c80f1a9f94db31063477eb9e61a2e24c1a4eee09ba776b029048f5369db0c"  ;; \ | ||||||
|     "linux/arm64")  KUBECTL_SHA256="e51d6a76fade0871a9143b64dc62a5ff44f369aa6cb4b04967d93798bf39d15b"  ;; \ |     "linux/arm64")  KUBECTL_SHA256="98206fd83a4fd17f013f8c61c33d0ae8ec3a7c53ec59ef3d6a0a9400862dc5b2"  ;; \ | ||||||
|     esac && \ |     esac && \ | ||||||
|     echo "${KUBECTL_SHA256}  kubectl" | sha256sum -c && \ |     echo "${KUBECTL_SHA256}  kubectl" | sha256sum -c && \ | ||||||
|     chmod +x kubectl && \ |     chmod +x kubectl && \ | ||||||
|  |  | ||||||
|  | @ -55,13 +55,13 @@ RUN set -x && \ | ||||||
| # using the install documentation found at https://kubernetes.io/docs/tasks/tools/install-kubectl/ | # using the install documentation found at https://kubernetes.io/docs/tasks/tools/install-kubectl/ | ||||||
| # for now but in a future version of alpine (in the testing version at the time of writing) | # for now but in a future version of alpine (in the testing version at the time of writing) | ||||||
| # we should be able to install using apk add. | # we should be able to install using apk add. | ||||||
| ENV KUBECTL_VERSION="v1.30.8" | ENV KUBECTL_VERSION="v1.32.1" | ||||||
| RUN set -x && \ | RUN set -x && \ | ||||||
|     curl --retry 5 --retry-connrefused -LO "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/${TARGETOS}/${TARGETARCH}/kubectl" && \ |     curl --retry 5 --retry-connrefused -LO "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/${TARGETOS}/${TARGETARCH}/kubectl" && \ | ||||||
|     case ${TARGETPLATFORM} in \ |     case ${TARGETPLATFORM} in \ | ||||||
|     # checksums are available at https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/${TARGETOS}/${TARGETARCH}/kubectl.sha256 |     # checksums are available at https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/${TARGETOS}/${TARGETARCH}/kubectl.sha256 | ||||||
|     "linux/amd64")  KUBECTL_SHA256="7f39bdcf768ce4b8c1428894c70c49c8b4d2eee52f3606eb02f5f7d10f66d692"  ;; \ |     "linux/amd64")  KUBECTL_SHA256="e16c80f1a9f94db31063477eb9e61a2e24c1a4eee09ba776b029048f5369db0c"  ;; \ | ||||||
|     "linux/arm64")  KUBECTL_SHA256="e51d6a76fade0871a9143b64dc62a5ff44f369aa6cb4b04967d93798bf39d15b"  ;; \ |     "linux/arm64")  KUBECTL_SHA256="98206fd83a4fd17f013f8c61c33d0ae8ec3a7c53ec59ef3d6a0a9400862dc5b2"  ;; \ | ||||||
|     esac && \ |     esac && \ | ||||||
|     echo "${KUBECTL_SHA256}  kubectl" | sha256sum -c && \ |     echo "${KUBECTL_SHA256}  kubectl" | sha256sum -c && \ | ||||||
|     chmod +x kubectl && \ |     chmod +x kubectl && \ | ||||||
|  |  | ||||||
|  | @ -55,13 +55,13 @@ RUN set -x && \ | ||||||
| # using the install documentation found at https://kubernetes.io/docs/tasks/tools/install-kubectl/ | # using the install documentation found at https://kubernetes.io/docs/tasks/tools/install-kubectl/ | ||||||
| # for now but in a future version of alpine (in the testing version at the time of writing) | # for now but in a future version of alpine (in the testing version at the time of writing) | ||||||
| # we should be able to install using apk add. | # we should be able to install using apk add. | ||||||
| ENV KUBECTL_VERSION="v1.30.8" | ENV KUBECTL_VERSION="v1.32.1" | ||||||
| RUN set -x && \ | RUN set -x && \ | ||||||
|     curl --retry 5 --retry-connrefused -LO "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/${TARGETOS}/${TARGETARCH}/kubectl" && \ |     curl --retry 5 --retry-connrefused -LO "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/${TARGETOS}/${TARGETARCH}/kubectl" && \ | ||||||
|     case ${TARGETPLATFORM} in \ |     case ${TARGETPLATFORM} in \ | ||||||
|     # checksums are available at https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/${TARGETOS}/${TARGETARCH}/kubectl.sha256 |     # checksums are available at https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/${TARGETOS}/${TARGETARCH}/kubectl.sha256 | ||||||
|     "linux/amd64")  KUBECTL_SHA256="7f39bdcf768ce4b8c1428894c70c49c8b4d2eee52f3606eb02f5f7d10f66d692"  ;; \ |     "linux/amd64")  KUBECTL_SHA256="e16c80f1a9f94db31063477eb9e61a2e24c1a4eee09ba776b029048f5369db0c"  ;; \ | ||||||
|     "linux/arm64")  KUBECTL_SHA256="e51d6a76fade0871a9143b64dc62a5ff44f369aa6cb4b04967d93798bf39d15b"  ;; \ |     "linux/arm64")  KUBECTL_SHA256="98206fd83a4fd17f013f8c61c33d0ae8ec3a7c53ec59ef3d6a0a9400862dc5b2"  ;; \ | ||||||
|     esac && \ |     esac && \ | ||||||
|     echo "${KUBECTL_SHA256}  kubectl" | sha256sum -c && \ |     echo "${KUBECTL_SHA256}  kubectl" | sha256sum -c && \ | ||||||
|     chmod +x kubectl && \ |     chmod +x kubectl && \ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue