diff options
author | Joffrey Bion <joffrey.bion@gmail.com> | 2021-02-07 02:21:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-07 02:21:14 +0100 |
commit | 7ff2ba2e015a16e1afd073b31196edf38654e850 (patch) | |
tree | 41c323748ccb83e9a26bcdd947bd2867554d26ca /.github | |
parent | Create deploy-digitalocean.yml (diff) | |
download | seven-wonders-7ff2ba2e015a16e1afd073b31196edf38654e850.tar.gz seven-wonders-7ff2ba2e015a16e1afd073b31196edf38654e850.tar.bz2 seven-wonders-7ff2ba2e015a16e1afd073b31196edf38654e850.zip |
Make k8s credentials short-lived
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/deploy-digitalocean.yml | 2 |
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 |