From 70bb14de54703459d1e5bd7aff6d85a10aa932b7 Mon Sep 17 00:00:00 2001 From: Viktor Kuzmin Date: Mon, 7 Aug 2023 11:28:48 +0300 Subject: [PATCH] Controller should be run as deployment - it doesn't have any statefull data --- .../templates/{statefulset.yaml => deployment.yaml} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename deploy/helm/seaweedfs-csi-driver/templates/{statefulset.yaml => deployment.yaml} (98%) diff --git a/deploy/helm/seaweedfs-csi-driver/templates/statefulset.yaml b/deploy/helm/seaweedfs-csi-driver/templates/deployment.yaml similarity index 98% rename from deploy/helm/seaweedfs-csi-driver/templates/statefulset.yaml rename to deploy/helm/seaweedfs-csi-driver/templates/deployment.yaml index 6d5c16b..7d305ed 100644 --- a/deploy/helm/seaweedfs-csi-driver/templates/statefulset.yaml +++ b/deploy/helm/seaweedfs-csi-driver/templates/deployment.yaml @@ -1,5 +1,5 @@ --- -kind: StatefulSet +kind: Deployment apiVersion: apps/v1 metadata: name: {{ template "seaweedfs-csi-driver.name" . }}-controller @@ -7,7 +7,6 @@ spec: selector: matchLabels: app: {{ template "seaweedfs-csi-driver.name" . }}-controller - serviceName: "csi-seaweedfs" replicas: 1 template: metadata: