You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The chart's template for the clamav StatefulSet currently sets common labels for volumeClaimTemplates. This is a problem because the labels are immutable and the template sets a value with the chart's version. As a consequence, updates to newer versions of the chart will fail.
Environment
Kubernetes 1.27
Helm 3.12
Mailu chart 1.5.0 (updating from 1.4.0)
Additional context
This seems to be a common pitfall for Helm charts: helm/charts#7803
Manifest excerpt:
apiVersion: apps/v1kind: StatefulSetmetadata:
labels:
# This is fine:helm.sh/chart: mailu-1.4.0name: mailu-clamavspec:
volumeClaimTemplates:
- apiVersion: v1kind: PersistentVolumeClaimmetadata:
labels:
# This causes problems during updates (immutable):helm.sh/chart: mailu-1.4.0
The text was updated successfully, but these errors were encountered:
Describe the bug
The chart's template for the clamav StatefulSet currently sets common labels for
volumeClaimTemplates
. This is a problem because the labels are immutable and the template sets a value with the chart's version. As a consequence, updates to newer versions of the chart will fail.Environment
Additional context
This seems to be a common pitfall for Helm charts: helm/charts#7803
Manifest excerpt:
The text was updated successfully, but these errors were encountered: