This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
feat(aws-cli) Bump from 1.19 native package to 1.25.4 pip package #112
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context: jenkins-infra/kubernetes-management#2403
=> with the May upgrade of the kubernetes go client (latest patches for any kubectl 1.x line, but also helm 3.9.0), the system in charge of delegating authentication to another command line (in this case
aws eks get-token <...>
as specified in ourkubeconfig
) had an API model upgrade: it was changed fromv1alpha1
tov1beta1
.Changing the API version annotation in the
kubeconfig
is not enough: the external CLI, such asaws
CLI must be recent.Problem: we are pinned on the 1.19 line when using the alpine package, because we rely on the 3.15 line from the parent jenkins inbound-agent image.
This PR introduces the following changes:
aws-cli
from "native Alpine package" to "Python Pip package" to make sure that our AWS CLI version is controlled without depending on the parent imageaws
CLI version from 1.19.105 to 1.25.4 (latest today, published 20 hours ago), which supports thev1beta1
authentication