aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Kvapil <kvapss@gmail.com>2025-07-14 22:57:55 +0200
committerGitHub <noreply@github.com>2025-07-14 13:57:55 -0700
commitf0d24461a49ef37b592daa526f5df139eeadbbc3 (patch)
treeb7819f99f15f5a72e2ba3676bb226679a63cf763
parent44dfa793d52e99c6e92efb9e898513fde8a0154f (diff)
downloadseaweedfs-f0d24461a49ef37b592daa526f5df139eeadbbc3.tar.xz
seaweedfs-f0d24461a49ef37b592daa526f5df139eeadbbc3.zip
Remove Cozystack specifics (#6978)
-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 }}