cleanup: remove calibre and audiobookshelf stacks after ebooks migration [ci skip]
Both services migrated to unified ebooks namespace. Remove: - Old stack directories and Terraform state - calibre references from monitoring namespace lists - calibre/audiobookshelf from operational scripts
This commit is contained in:
parent
809e2a7624
commit
4e74f816bc
22 changed files with 0 additions and 1013 deletions
|
|
@ -116,16 +116,6 @@ SERVICES = [
|
|||
("auth_secret", "var.resume_auth_secret"),
|
||||
("smtp_password", 'var.mailserver_accounts["info@viktorbarzin.me"]'),
|
||||
]),
|
||||
("calibre", "calibre", [
|
||||
("tls_secret_name", "var.tls_secret_name"),
|
||||
("homepage_username", 'var.homepage_credentials["calibre-web"]["username"]'),
|
||||
("homepage_password", 'var.homepage_credentials["calibre-web"]["password"]'),
|
||||
("tier", "LOCAL_TIER:edge"),
|
||||
]),
|
||||
("audiobookshelf", "audiobookshelf", [
|
||||
("tls_secret_name", "var.tls_secret_name"),
|
||||
("tier", "LOCAL_TIER:aux"),
|
||||
]),
|
||||
("frigate", "frigate", [
|
||||
("tls_secret_name", "var.tls_secret_name"),
|
||||
("tier", "LOCAL_TIER:gpu"),
|
||||
|
|
|
|||
|
|
@ -12,9 +12,7 @@ STATE_DIR="$(pwd)/state/stacks"
|
|||
MODULES=(
|
||||
actualbudget
|
||||
affine
|
||||
audiobookshelf
|
||||
blog
|
||||
calibre
|
||||
changedetection
|
||||
city-guesser
|
||||
coturn
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ function scale() { kubectl scale deployment --replicas=$3 --namespace $1 $2; }
|
|||
cmd="${1:-stop}"
|
||||
case "$cmd" in
|
||||
stop)
|
||||
scale calibre calibre-web-automated 0
|
||||
scale redis redis 0
|
||||
scale uptime-kuma uptime-kuma 0
|
||||
scale paperless-ngx paperless-ngx 0
|
||||
|
|
@ -37,7 +36,6 @@ case "$cmd" in
|
|||
scale redis redis 1
|
||||
scale uptime-kuma uptime-kuma 1
|
||||
scale vaultwarden vaultwarden 1
|
||||
scale calibre calibre-web-automated 1
|
||||
;;
|
||||
# echo "[!] Cleanup only removes links (not flushing all iptables to avoid surprises)."
|
||||
# ip netns list | grep -qw "$NS_NAME" && sudo ip netns del "$NS_NAME" || true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue