From 7ff2ba2e015a16e1afd073b31196edf38654e850 Mon Sep 17 00:00:00 2001 From: Joffrey Bion Date: Sun, 7 Feb 2021 02:21:14 +0100 Subject: Make k8s credentials short-lived --- .github/workflows/deploy-digitalocean.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-digitalocean.yml b/.github/workflows/deploy-digitalocean.yml index 8b036aad..ed166741 100644 --- a/.github/workflows/deploy-digitalocean.yml +++ b/.github/workflows/deploy-digitalocean.yml @@ -21,7 +21,7 @@ jobs: token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }} - name: Setup DigitalOcean kubeconfig - run: doctl kubernetes cluster kubeconfig save bro-cluster + run: doctl kubernetes cluster kubeconfig save --expiry-seconds 600 bro-cluster - name: Deploy to DigitalOcean Kubernetes run: kubectl apply -f kubernetes/server.yml -- cgit