aboutsummaryrefslogtreecommitdiff
path: root/k8s
diff options
context:
space:
mode:
Diffstat (limited to 'k8s')
-rw-r--r--k8s/charts/seaweedfs/templates/volume-resize-hook.yaml3
-rw-r--r--k8s/charts/seaweedfs/templates/volume-statefulset.yaml3
2 files changed, 0 insertions, 6 deletions
diff --git a/k8s/charts/seaweedfs/templates/volume-resize-hook.yaml b/k8s/charts/seaweedfs/templates/volume-resize-hook.yaml
index 8e3b5932c..78e8a3fc9 100644
--- a/k8s/charts/seaweedfs/templates/volume-resize-hook.yaml
+++ b/k8s/charts/seaweedfs/templates/volume-resize-hook.yaml
@@ -59,9 +59,6 @@ metadata:
helm.sh/hook-delete-policy: hook-succeeded,before-hook-creation
spec:
template:
- metadata:
- labels:
- policy.cozystack.io/allow-to-apiserver: "true"
spec:
serviceAccountName: {{ $seaweedfsName }}-volume-resize-hook
restartPolicy: Never
diff --git a/k8s/charts/seaweedfs/templates/volume-statefulset.yaml b/k8s/charts/seaweedfs/templates/volume-statefulset.yaml
index ccfffc101..197401608 100644
--- a/k8s/charts/seaweedfs/templates/volume-statefulset.yaml
+++ b/k8s/charts/seaweedfs/templates/volume-statefulset.yaml
@@ -21,9 +21,6 @@ metadata:
{{- toYaml $volume.annotations | nindent 4 }}
{{- end }}
spec:
- persistentVolumeClaimRetentionPolicy:
- whenDeleted: Delete
- whenScaled: Delete
serviceName: {{ template "seaweedfs.name" $ }}-{{ $volumeName }}
replicas: {{ $volume.replicas }}
podManagementPolicy: {{ $volume.podManagementPolicy }}