File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -194,9 +194,10 @@ imagePullSecrets: []
194194 size: 10Gi
195195
196196 ## The StorageClass to be used by the constructed PersistentVolumeClaim.
197- ## Will use the cluster default if not provided
197+ ## Will use the cluster default if not provided.
198+ ## If changed after initial usage the PersistentVolumeClaim could be recreated causing data-loss.
198199 ## Ignored if existingClaim is provided
199- # storageClass :
200+ # storageClassName :
200201
201202 ## Whether to instruct Helm to keep or delete the constructed PersistentVolumeClaim when uninstalling the chart
202203 ## Ignored if existingClaim is provided
Original file line number Diff line number Diff line change @@ -2083,9 +2083,10 @@ postgres:
20832083 size : 10Gi
20842084
20852085 # # The StorageClass to be used by the constructed PersistentVolumeClaim.
2086- # # Will use the cluster default if not provided
2086+ # # Will use the cluster default if not provided.
2087+ # # If changed after initial usage the PersistentVolumeClaim could be recreated causing data-loss.
20872088 # # Ignored if existingClaim is provided
2088- # storageClass :
2089+ # storageClassName :
20892090
20902091 # # Whether to instruct Helm to keep or delete the constructed PersistentVolumeClaim when uninstalling the chart
20912092 # # Ignored if existingClaim is provided
@@ -2363,9 +2364,10 @@ synapse:
23632364 size : 10Gi
23642365
23652366 # # The StorageClass to be used by the constructed PersistentVolumeClaim.
2366- # # Will use the cluster default if not provided
2367+ # # Will use the cluster default if not provided.
2368+ # # If changed after initial usage the PersistentVolumeClaim could be recreated causing data-loss.
23672369 # # Ignored if existingClaim is provided
2368- # storageClass :
2370+ # storageClassName :
23692371
23702372 # # Whether to instruct Helm to keep or delete the constructed PersistentVolumeClaim when uninstalling the chart
23712373 # # Ignored if existingClaim is provided
Original file line number Diff line number Diff line change 1+ Fix Postgres and Synapse Media ` storageClassName ` configuration not being respected.
2+
3+ ** Warning** Previously ` synapse.media.storage.storageClass ` and ` postgres.storage.storageClass `
4+ were in the values file and associated schema. These values were accidentally silently ignored
5+ and all chart-managed ` PersistentVolumeClaims ` were constructed without ` spec.storageClassName `
6+ set, using the cluster default ` StorageClass ` .
7+
8+ The values file and associated schema have been updated so that the values are now
9+ ` synapse.media.storage.storageClassName ` and ` postgres.storage.storageClassName ` . The previous
10+ values are disallowed by the schema. Setting these values after the initial install could
11+ cause the ` PersistentVolumeClaims ` to be recreated, with associated data-loss. Only set
12+ ` synapse.media.storage.storageClassName ` or ` postgres.storage.storageClassName ` on initial
13+ installation.
You can’t perform that action at this time.
0 commit comments