Use kubectl 1.27 for EP services

This commit is contained in:
David Dieulivol 2024-05-08 14:55:35 +00:00 committed by Balasankar 'Balu' C
parent 36208dcce6
commit a8877850e7
2 changed files with 20 additions and 1 deletions

View file

@ -74,7 +74,7 @@ ep-native-cloud-services:
variables:
RUBY: '3.0'
GCLOUD: '383'
KUBECTL: '1.26'
KUBECTL: '1.27'
HELM: '3.9'
# Used by GitLab's jobs that work with ruby gems

View file

@ -296,6 +296,10 @@ function print_gcloud_args() {
function print_kubectl_args() {
declare -A KUBECTL_DOWNLOAD_SHA256
# Use the commands below to download the sha256, and adapt the version number in the commands.
#
# curl -L "https://dl.k8s.io/release/v1.29.0/bin/linux/amd64/kubectl.sha256"
# curl -L "https://dl.k8s.io/release/v1.29.0/bin/linux/arm64/kubectl.sha256"
case "$1" in
1.23)
KUBECTL_VERSION=1.23.0
@ -307,6 +311,21 @@ function print_kubectl_args() {
KUBECTL_DOWNLOAD_SHA256[amd64]=b6769d8ac6a0ed0f13b307d289dc092ad86180b08f5b5044af152808c04950ae
KUBECTL_DOWNLOAD_SHA256[arm64]=79b14e4ddada9e81d2989f36a89faa9e56f8abe6e0246e7bdc305c93c3731ea4
;;
1.27)
KUBECTL_VERSION=1.27.0
KUBECTL_DOWNLOAD_SHA256[amd64]=71a78259d70da9c5540c4cf4cff121f443e863376f68f89a759d90cef3f51e87
KUBECTL_DOWNLOAD_SHA256[arm64]=f8e09630211f2b7c6a8cc38835e7dea94708d401f5c84b23a37c70c604602ddc
;;
1.28)
KUBECTL_VERSION=1.28.0
KUBECTL_DOWNLOAD_SHA256[amd64]=4717660fd1466ec72d59000bb1d9f5cdc91fac31d491043ca62b34398e0799ce
KUBECTL_DOWNLOAD_SHA256[arm64]=f5484bd9cac66b183c653abed30226b561f537d15346c605cc81d98095f1717c
;;
1.29)
KUBECTL_VERSION=1.29.0
KUBECTL_DOWNLOAD_SHA256[amd64]=0e03ab096163f61ab610b33f37f55709d3af8e16e4dcc1eb682882ef80f96fd5
KUBECTL_DOWNLOAD_SHA256[arm64]=8f7a4bd6bae900a4ddab12bd1399aa652c0d59ea508f39b910e111d248893ff7
;;
1.30)
KUBECTL_VERSION=1.30.0
KUBECTL_DOWNLOAD_SHA256[amd64]=7c3807c0f5c1b30110a2ff1e55da1d112a6d0096201f1beb81b269f582b5d1c5