File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed
Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 66 imageRegistry : " ghcr.io"
77 # Use "managed-csi-premium" for Premium SSD (requires Premium storage-capable VMs like Standard_DS*)
88 # Use "managed-csi" for Standard SSD (works with all VM types)
9+ #
10+ # IMPORTANT: For production database workloads, create a StorageClass with reclaimPolicy: Retain
11+ # to protect volumes from accidental deletion (e.g., kubectl delete namespace):
12+ #
13+ # apiVersion: storage.k8s.io/v1
14+ # kind: StorageClass
15+ # metadata:
16+ # name: managed-csi-premium-retain
17+ # provisioner: disk.csi.azure.com
18+ # parameters:
19+ # skuname: Premium_LRS
20+ # reclaimPolicy: Retain
21+ # volumeBindingMode: WaitForFirstConsumer
22+ # allowVolumeExpansion: true
23+ #
24+ # Then use: storageClass: "managed-csi-premium-retain"
925 storageClass : " managed-csi"
1026
1127# Main application
@@ -113,9 +129,10 @@ postgresql:
113129 cpu : " 500m"
114130
115131 # Persistent storage using Azure Managed Disk
132+ # For production, use a StorageClass with reclaimPolicy: Retain (see global.storageClass comment)
116133 persistence :
117134 enabled : true
118- storageClass : " managed-csi"
135+ storageClass : " managed-csi-premium-retain "
119136 size : 10Gi
120137
121138 # SSL/TLS configuration (requires cert-manager to be installed)
Original file line number Diff line number Diff line change 11# Production values for Sim
22# This configuration is suitable for production deployments
3+ #
4+ # IMPORTANT: For database volumes, use a StorageClass with reclaimPolicy: Retain
5+ # to protect data from accidental deletion. The default "Delete" policy will
6+ # destroy the underlying disk when a PVC is deleted (including via namespace deletion).
37
48# Global configuration
59global :
610 imageRegistry : " ghcr.io"
11+ # Use a StorageClass with reclaimPolicy: Retain for production database workloads
712 storageClass : " managed-csi-premium"
813
914# Main application
You can’t perform that action at this time.
0 commit comments