Skip to content

Commit

Permalink
Update credentials action to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydeokar committed Oct 3, 2023
1 parent 4ca0abd commit 79155de
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/e2e-conformance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@ jobs:
uses: actions/checkout@v3
- name: Install Dependencies
uses: ./.github/actions/install-dependencies
- uses: aws-actions/configure-aws-credentials@v1
- uses: aws-actions/configure-aws-credentials@v3
with:
role-to-assume: ${{ secrets.OSS_ROLE_ARN }}
aws-region: us-west-2
role-duration-seconds: 3600 # 1 hour
mask-aws-account-id: 'no'
- name: Build and Push Network Policy Image
id: build-and-push-image
uses: ./.github/actions/build-and-push-image
Expand All @@ -45,7 +44,7 @@ jobs:
uses: actions/checkout@v3
- name: Install Dependencies
uses: ./.github/actions/install-dependencies
- uses: aws-actions/configure-aws-credentials@v1
- uses: aws-actions/configure-aws-credentials@v3
with:
role-to-assume: ${{ secrets.OSS_ROLE_ARN }}
aws-region: us-west-2
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/performance-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@ jobs:
uses: actions/checkout@v3
- name: Install Dependencies
uses: ./.github/actions/install-dependencies
- uses: aws-actions/configure-aws-credentials@v1
- uses: aws-actions/configure-aws-credentials@v3
with:
role-to-assume: ${{ secrets.OSS_ROLE_ARN }}
aws-region: us-west-2
role-duration-seconds: 3600 # 1 hour
mask-aws-account-id: 'no'
- name: Build and Push Network Policy Image
id: build-and-push-image
uses: ./.github/actions/build-and-push-image
Expand All @@ -45,7 +44,7 @@ jobs:
uses: actions/checkout@v3
- name: Install Dependencies
uses: ./.github/actions/install-dependencies
- uses: aws-actions/configure-aws-credentials@v1
- uses: aws-actions/configure-aws-credentials@v3
with:
role-to-assume: ${{ secrets.OSS_ROLE_ARN }}
aws-region: us-west-2
Expand Down
3 changes: 3 additions & 0 deletions scripts/update-node-agent-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ else
fi

install_network_policy_helm

echo "Check aws-node daemonset status"
kubectl rollout status ds/aws-node -n kube-system --timeout=300s

0 comments on commit 79155de

Please sign in to comment.