Skip to content

Commit

Permalink
chore: bump eksctl version (#4714)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmdeal committed Sep 27, 2023
1 parent 002b9b7 commit 6eb4b67
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/actions/e2e/cleanup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ inputs:
description: "The git commit, tag, or branch to check out. Requires a corresponding Karpenter snapshot release"
eksctl_version:
description: "Version of eksctl to install"
default: v0.159.0
default: v0.160.0-rc.0
runs:
using: "composite"
steps:
Expand All @@ -38,7 +38,7 @@ runs:
run: |
for name in $(aws iam list-instance-profiles --query "InstanceProfiles[*].{Name:InstanceProfileName}" --output text); do
tags=$(aws iam list-instance-profile-tags --instance-profile-name $name --output json || true)
if [[ $(echo $tags | jq -r '.Tags[] | select(.Key == "testing/cluster") | .Value') == "${{ inputs.cluster_name }}" ]]; then
if [[ $(echo $tags | jq -r '.Tags[] | select(.Key == "testing/cluster") | .Value') == "${{ inputs.cluster_name }}" ]]; then
roleName=$(aws iam get-instance-profile --instance-profile-name $name --query "InstanceProfile.Roles[*].{Name:RoleName}" --output text)
aws iam remove-role-from-instance-profile --instance-profile-name $name --role-name $roleName
aws iam delete-instance-profile --instance-profile-name $name
Expand All @@ -63,9 +63,9 @@ runs:
--network-interface-id
- name: delete-security-group
shell: bash
# For drift testing, we create a security group and need to clean it up here
# For drift testing, we create a security group and need to clean it up here
# to avoid leaks if the tests is not fully completed
run: |
run: |
aws ec2 describe-security-groups \
--filters Name=group-name,Values=security-group-drift Name=tag:karpenter.sh/discovery,Values=${{ inputs.cluster_name }} \
--query "SecurityGroups[*].{ID:GroupId}" \
Expand Down Expand Up @@ -96,4 +96,4 @@ runs:
-n 1 \
-r \
aws ec2 delete-launch-template \
--launch-template-id
--launch-template-id
2 changes: 1 addition & 1 deletion .github/actions/e2e/create-cluster/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ inputs:
default: "1.28"
eksctl_version:
description: "Version of eksctl to install"
default: v0.159.0
default: v0.160.0-rc.0
ip_family:
description: "IP Family of the cluster. Valid values are IPv4 or IPv6"
required: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
default: "1.28"
eksctl_version:
type: string
default: v0.159.0
default: v0.160.0-rc.0
git_ref:
type: string
event_name:
Expand Down Expand Up @@ -41,7 +41,7 @@ on:
default: "1.28"
eksctl_version:
type: string
default: v0.159.0
default: v0.160.0-rc.0
# All jobs will run under the following conditions:
# 1. Upstream Karpenter repo triggered the job by schedule, push, or dispatch
# 2. Upstream Karpenter repo triggered the job by workflow_run, which requires maintainer check to succeed
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
default: "1.28"
eksctl_version:
type: string
default: v0.159.0
default: v0.160.0-rc.0
workflow_call:
inputs:
from_git_ref:
Expand All @@ -44,7 +44,7 @@ on:
default: "1.28"
eksctl_version:
type: string
default: v0.159.0
default: v0.160.0-rc.0
secrets:
SLACK_WEBHOOK_URL:
required: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ on:
default: "1.28"
eksctl_version:
type: string
default: v0.159.0
default: v0.160.0-rc.0
enable_metrics:
type: boolean
default: false
Expand All @@ -59,7 +59,7 @@ on:
default: "1.28"
eksctl_version:
type: string
default: v0.159.0
default: v0.160.0-rc.0
enable_metrics:
type: boolean
default: false
Expand Down

0 comments on commit 6eb4b67

Please sign in to comment.