Skip to content

Commit

Permalink
CHG add acme backup target
Browse files Browse the repository at this point in the history
  • Loading branch information
wabscale committed Jul 17, 2023
1 parent 07d0d1f commit 5573e21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ api/seed.ipynb

.DS_Store
yarn-error.log

acme.json
acme*.json
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -134,3 +134,5 @@ yeetdb:
theia-%:
$(DOCKER_COMPOSE) pull $@

acme-backup:
kubectl exec -it -n traefik -c traefik $(kubectl get pods -n traefik -o json | jq '.items[0].metadata.name' -r) -- cat data/acme.json > ../acme-$(date +%F).json

0 comments on commit 5573e21

Please sign in to comment.