Skip to content

Commit

Permalink
Add kubectl context expiration
Browse files Browse the repository at this point in the history
  • Loading branch information
blazer82 committed Jun 13, 2024
1 parent 512518e commit e2a17ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
- name: Save DigitalOcean kubeconfig with short-lived credentials
run: doctl kubernetes cluster kubeconfig save productionbuild-cluster
run: doctl kubernetes cluster kubeconfig save --expiry-seconds 600 productionbuild-cluster
- name: Checkout source code
uses: actions/checkout@v4
- name: Deploy to the Kubernetes cluster
Expand Down

0 comments on commit e2a17ca

Please sign in to comment.