Add SOPS encryption for env files

(and decryption with SwarmCD)
This commit is contained in:
2025-09-16 21:22:00 +02:00
parent ef3c53bdc0
commit 6ded6f7d28
13 changed files with 107 additions and 5 deletions

View File

@@ -40,6 +40,7 @@ resource "proxmox_virtual_environment_file" "docker-machine-cloud-config" {
- mkdir /app
- echo "truenas.local:/mnt/fast_app_data/docker-homeprod /app nfs defaults,_netdev 0 0" >>/etc/fstab
- mount -t nfs truenas.local:/mnt/fast_app_data/docker-homeprod /app
- echo "${var.sops_private_key}" | gpg --import
EOF
file_name = "docker-machine-cloud-config.yaml"
}