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

cd: upgrade helm 3.8 -> 3.11 and kubectl 1.23 -> 1.24 #2314

Merged
merged 1 commit into from
Mar 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 32 additions & 7 deletions .github/actions/setup-deploy/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,41 @@ runs:
# This action use the github official cache mechanism internally
- uses: azure/setup-helm@v3
with:
# version is pinned for helm to avoid an automatic update of its version
# which would cause something unexpected without an action on our
# behalf.
version: v3.8.2
# Manually update a pinning of helm to a minor version based on:
#
# - it seems to work
# - to avoid falling behind
#
# Related:
#
# - helm versions: https://github.com/helm/helm/releases
#
version: v3.11.1

# Pin kubectl version to 1.23 otherwise interactions with k8s clusters versioned <=1.21 won't work.
# See https://github.com/2i2c-org/infrastructure/issues/1271.
# Manually update a pinning of kubectl to a minor version based on:
#
# - the current range of k8s version in our k8s clusters, as of 2023-03-07,
# this is k8s 1.22 - 1.24
# - the expected change in this range, as of 2023-03-07, is to expand to
# 1.22 - 1.25
# - the kubectl <-> k8s api-server skew policy of +/- one minor version
# - the policy of attempting to update our kubectl version here to be +/-
# one minor versions of future k8s clusters additions or upgrades, so that
# additions or upgrades of k8s clusters aren't unexpectedly held back
#
# As an example, we upgraded to kubectl to version 1.24 before we
# added/upgraded a k8s cluster to version 1.25.
#
# Related:
#
# - k8s versions: https://kubernetes.io/releases/
# - Kubectl version skew policy: https://kubernetes.io/releases/version-skew-policy/#kubectl
# - 2i2c, k8s upgrades tracked: https://github.com/2i2c-org/infrastructure/issues/2293
# - 2i2c, historical issue: https://github.com/2i2c-org/infrastructure/issues/1271
#
- uses: azure/setup-kubectl@v3
with:
version: "v1.23.16"
version: "v1.24.10"

# This action use the github official cache mechanism internally
- name: Install sops
Expand Down