diff --git a/helm/rustfs/templates/pvc.yaml b/helm/rustfs/templates/pvc.yaml index a50a04e9..849da8f2 100644 --- a/helm/rustfs/templates/pvc.yaml +++ b/helm/rustfs/templates/pvc.yaml @@ -2,6 +2,8 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: + annotations: + helm.sh/resource-policy: keep name: {{ include "rustfs.fullname" . }}-data labels: {{- toYaml .Values.commonLabels | nindent 4 }} @@ -16,6 +18,8 @@ spec: apiVersion: v1 kind: PersistentVolumeClaim metadata: + annotations: + helm.sh/resource-policy: keep name: {{ include "rustfs.fullname" . }}-logs labels: {{- toYaml .Values.commonLabels | nindent 4 }}