tar cf vault.tar vault
gpg --armor --symmetric --cipher-algo AES256 vault.tar
gpg -o vault.tar --decrypt vault.tar.asc
#!/bin/bash | |
### | |
### https://gist.github.com/svinther/101d563e8adb14d096326f55e240a55d | |
### | |
IMAGE="svinther/docker-armyknife" | |
COMMAND="/bin/bash" | |
NAMESPACE=default | |
SERVICEACCOUNT= |
#!/bin/bash | |
HOST=$1 | |
FAIL=0 | |
fail_hook() { | |
echo $(date) FAIL | |
} |