Skip to content

Commit

Permalink
chore: update kubectl version
Browse files Browse the repository at this point in the history
  • Loading branch information
nemanja-kovacevic-thinkit committed Oct 30, 2024
1 parent e9f2962 commit 3fd4259
Show file tree
Hide file tree
Showing 3 changed files with 1,865 additions and 1,575 deletions.
13 changes: 11 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,17 @@ commands:
cluster_setup:
steps:
- aws-cli/setup
- kubernetes/install-kubectl:
kubectl-version: v1.30.3
- run:
name: Install kubectl
command: |
KUBECTL_VERSION=1.31.2
curl --fail -sLO "https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl"
curl --fail -sLO "https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl.sha256"
echo "$(cat kubectl.sha256) kubectl" | sha256sum --check --status -
rm kubectl.sha256
chmod +x kubectl
sudo mv kubectl /usr/local/bin
kubectl version --client
- run:
name: Set up cluster context
command: aws eks update-kubeconfig --name << pipeline.parameters.cluster_name >> --alias << pipeline.parameters.cluster_name >>
Expand Down
2 changes: 1 addition & 1 deletion cdk8s.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
language: typescript
imports:
- k8s@1.30.0
- k8s@1.31.0
Loading

0 comments on commit 3fd4259

Please sign in to comment.