fix(backup): update security context in cron job and improve backup script logging
This commit is contained in:
@@ -133,7 +133,6 @@ resource "kubernetes_cron_job_v1" "backup_job" {
|
||||
args = ["/tmp/scripts/backup.sh"]
|
||||
security_context {
|
||||
allow_privilege_escalation = false
|
||||
read_only_root_filesystem = true
|
||||
}
|
||||
volume_mount {
|
||||
name = "backup-storage"
|
||||
|
||||
Reference in New Issue
Block a user