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
|
# Segunda copia offsite (Backblaze B2): "crown jewels" — las 2 copias más
|
||||||
# recientes de cada servicio irremplazable (~2GB, cabe en los 10GB gratis).
|
# recientes de cada servicio irremplazable (~2GB, cabe en los 10GB gratis).
|
||||||
# Todo menos uptime-kuma (622M de historial de heartbeats, prescindible).
|
# Todo menos uptime-kuma (622M de historial de heartbeats, prescindible).
|
||||||
# Imagen BusyBox — sin GNU-ismos. Config: Secret out-of-band rclone-conf-b2
|
# Imagen BusyBox — sin GNU-ismos. Config: RCLONE_CONF de Infisical (mega+b2).
|
||||||
# (mega+b2; consolidar en Infisical RCLONE_CONF cuando se añada [b2] en la UI).
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
log() { echo "[$(date '+%Y-%m-%d %H:%M:%S')] $*"; }
|
log() { echo "[$(date '+%Y-%m-%d %H:%M:%S')] $*"; }
|
||||||
|
|||||||
@@ -36,10 +36,10 @@ spec:
|
|||||||
- mountPath: /scripts
|
- mountPath: /scripts
|
||||||
name: scripts
|
name: scripts
|
||||||
volumes:
|
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
|
- name: rclone-conf
|
||||||
secret:
|
secret:
|
||||||
secretName: rclone-conf-b2
|
secretName: rclone-conf-infisical
|
||||||
items:
|
items:
|
||||||
- key: RCLONE_CONF
|
- key: RCLONE_CONF
|
||||||
path: rclone.conf
|
path: rclone.conf
|
||||||
|
|||||||
@@ -45,14 +45,10 @@ spec:
|
|||||||
hostPath:
|
hostPath:
|
||||||
path: /data/backups/backups
|
path: /data/backups/backups
|
||||||
type: Directory
|
type: Directory
|
||||||
# Secret OUT-OF-BAND (kubectl, no en git): remotes mega + b2.
|
# RCLONE_CONF (Infisical /backup-system) contiene mega+b2 desde 2026-07-15
|
||||||
# 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).
|
|
||||||
- name: rclone-conf
|
- name: rclone-conf
|
||||||
secret:
|
secret:
|
||||||
secretName: rclone-conf-b2
|
secretName: rclone-conf-infisical
|
||||||
items:
|
items:
|
||||||
- key: RCLONE_CONF
|
- key: RCLONE_CONF
|
||||||
path: rclone.conf
|
path: rclone.conf
|
||||||
|
|||||||
@@ -46,10 +46,10 @@ spec:
|
|||||||
hostPath:
|
hostPath:
|
||||||
path: /opt/reddit-intel
|
path: /opt/reddit-intel
|
||||||
type: Directory
|
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
|
- name: rclone-conf
|
||||||
secret:
|
secret:
|
||||||
secretName: rclone-conf-b2
|
secretName: rclone-conf-infisical
|
||||||
items:
|
items:
|
||||||
- key: RCLONE_CONF
|
- key: RCLONE_CONF
|
||||||
path: rclone.conf
|
path: rclone.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user