summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoffrey Bion <joffrey.bion@gmail.com>2021-02-07 02:21:14 +0100
committerGitHub <noreply@github.com>2021-02-07 02:21:14 +0100
commit7ff2ba2e015a16e1afd073b31196edf38654e850 (patch)
tree41c323748ccb83e9a26bcdd947bd2867554d26ca
parentCreate deploy-digitalocean.yml (diff)
downloadseven-wonders-7ff2ba2e015a16e1afd073b31196edf38654e850.tar.gz
seven-wonders-7ff2ba2e015a16e1afd073b31196edf38654e850.tar.bz2
seven-wonders-7ff2ba2e015a16e1afd073b31196edf38654e850.zip
Make k8s credentials short-lived
-rw-r--r--.github/workflows/deploy-digitalocean.yml2
1 files changed, 1 insertions, 1 deletions
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
bgstack15