chore(backup-system): consolidar config rclone en Infisical (mega+b2)
El bloque [b2] ya vive en RCLONE_CONF (Infisical /backup-system); los 3 CronJobs vuelven a rclone-conf-infisical y se elimina el secret out-of-band rclone-conf-b2. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -252,8 +252,7 @@ data:
|
||||
# Segunda copia offsite (Backblaze B2): "crown jewels" — las 2 copias más
|
||||
# recientes de cada servicio irremplazable (~2GB, cabe en los 10GB gratis).
|
||||
# Todo menos uptime-kuma (622M de historial de heartbeats, prescindible).
|
||||
# Imagen BusyBox — sin GNU-ismos. Config: Secret out-of-band rclone-conf-b2
|
||||
# (mega+b2; consolidar en Infisical RCLONE_CONF cuando se añada [b2] en la UI).
|
||||
# Imagen BusyBox — sin GNU-ismos. Config: RCLONE_CONF de Infisical (mega+b2).
|
||||
set -e
|
||||
|
||||
log() { echo "[$(date '+%Y-%m-%d %H:%M:%S')] $*"; }
|
||||
|
||||
@@ -36,10 +36,10 @@ spec:
|
||||
- mountPath: /scripts
|
||||
name: scripts
|
||||
volumes:
|
||||
# rclone-conf-b2: secret out-of-band con mega+b2 (verify comprueba ambos)
|
||||
# RCLONE_CONF (Infisical /backup-system) contiene mega+b2 desde 2026-07-15
|
||||
- name: rclone-conf
|
||||
secret:
|
||||
secretName: rclone-conf-b2
|
||||
secretName: rclone-conf-infisical
|
||||
items:
|
||||
- key: RCLONE_CONF
|
||||
path: rclone.conf
|
||||
|
||||
@@ -45,14 +45,10 @@ spec:
|
||||
hostPath:
|
||||
path: /data/backups/backups
|
||||
type: Directory
|
||||
# Secret OUT-OF-BAND (kubectl, no en git): remotes mega + b2.
|
||||
# Fuente de verdad deseada: Infisical /backup-system RCLONE_CONF —
|
||||
# cuando se añada el bloque [b2] en la UI, volver a rclone-conf-infisical
|
||||
# y borrar este secret (la identity del operator es read-only, no pudo
|
||||
# escribirse por API el 2026-07-15).
|
||||
# RCLONE_CONF (Infisical /backup-system) contiene mega+b2 desde 2026-07-15
|
||||
- name: rclone-conf
|
||||
secret:
|
||||
secretName: rclone-conf-b2
|
||||
secretName: rclone-conf-infisical
|
||||
items:
|
||||
- key: RCLONE_CONF
|
||||
path: rclone.conf
|
||||
|
||||
@@ -46,10 +46,10 @@ spec:
|
||||
hostPath:
|
||||
path: /opt/reddit-intel
|
||||
type: Directory
|
||||
# rclone-conf-b2: secret out-of-band con mega+b2 (sube a los dos)
|
||||
# RCLONE_CONF (Infisical /backup-system) contiene mega+b2 desde 2026-07-15
|
||||
- name: rclone-conf
|
||||
secret:
|
||||
secretName: rclone-conf-b2
|
||||
secretName: rclone-conf-infisical
|
||||
items:
|
||||
- key: RCLONE_CONF
|
||||
path: rclone.conf
|
||||
|
||||
Reference in New Issue
Block a user