fix: prevent PV/PVC deletion during rustfs uninstallation (#1279)

This commit is contained in:
bbb4aaa
2025-12-27 20:45:43 +08:00
committed by GitHub
parent 3d6681c9e5
commit f2d79b485e

View File

@@ -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 }}