Skip to content

Commit 09d104b

Browse files
chore: update kubectl version (#96)
https://techfromsage.atlassian.net/browse/PLT-1009 Update kubectl version to v1.31.2
1 parent e9f2962 commit 09d104b

File tree

3 files changed

+1865
-1576
lines changed

3 files changed

+1865
-1576
lines changed

.circleci/config.yml

+11-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ version: 2.1
22

33
orbs:
44
aws-cli: circleci/[email protected]
5-
kubernetes: circleci/[email protected]
65
node: circleci/[email protected]
76

87
parameters:
@@ -14,8 +13,17 @@ commands:
1413
cluster_setup:
1514
steps:
1615
- aws-cli/setup
17-
- kubernetes/install-kubectl:
18-
kubectl-version: v1.30.3
16+
- run:
17+
name: Install kubectl
18+
command: |
19+
KUBECTL_VERSION=1.31.2
20+
curl --fail -sLO "https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl"
21+
curl --fail -sLO "https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl.sha256"
22+
echo "$(cat kubectl.sha256) kubectl" | sha256sum --check --status -
23+
rm kubectl.sha256
24+
chmod +x kubectl
25+
sudo mv kubectl /usr/local/bin
26+
kubectl version --client
1927
- run:
2028
name: Set up cluster context
2129
command: aws eks update-kubeconfig --name << pipeline.parameters.cluster_name >> --alias << pipeline.parameters.cluster_name >>

cdk8s.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
language: typescript
22
imports:
3-
- k8s@1.30.0
3+
- k8s@1.31.0

0 commit comments

Comments
 (0)