From 8968dde9f01be779adfa1f9db15712d8d1b64e82 Mon Sep 17 00:00:00 2001 From: Abhinandan Purkait Date: Wed, 20 Mar 2024 08:38:13 +0000 Subject: [PATCH] chore: change zfs-controller to a deployment from statefulset Signed-off-by: Abhinandan Purkait --- deploy/helm/charts/Chart.yaml | 9 +-------- deploy/helm/charts/templates/zfs-contoller.yaml | 2 +- deploy/helm/charts/values.yaml | 4 ++-- deploy/zfs-operator.yaml | 2 +- 4 files changed, 5 insertions(+), 12 deletions(-) diff --git a/deploy/helm/charts/Chart.yaml b/deploy/helm/charts/Chart.yaml index eebf23dd3..69429296e 100644 --- a/deploy/helm/charts/Chart.yaml +++ b/deploy/helm/charts/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: zfs-localpv description: Helm chart for CSI Driver for dynamic provisioning of ZFS Persistent Local Volumes. For instructions on how to use this helm chart, see - https://openebs.github.io/zfs-localpv/ -version: 2.4.2 +version: 2.5.0 appVersion: 2.4.2 icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png home: https://openebs.io/ @@ -14,10 +14,3 @@ keywords: - storage sources: - https://github.com/openebs/zfs-localpv -maintainers: - - name: xUnholy - email: michaelfornaro@gmail.com - - name: prateekpandey14 - email: prateek.pandey@mayadata.io - - name: pawanpraka1 - email: pawan@mayadata.io diff --git a/deploy/helm/charts/templates/zfs-contoller.yaml b/deploy/helm/charts/templates/zfs-contoller.yaml index 4f2b8d276..1f594afc5 100644 --- a/deploy/helm/charts/templates/zfs-contoller.yaml +++ b/deploy/helm/charts/templates/zfs-contoller.yaml @@ -1,5 +1,5 @@ apiVersion: apps/v1 -kind: StatefulSet +kind: Deployment metadata: name: {{ template "zfslocalpv.fullname" . }}-controller namespace: {{ .Release.Namespace }} diff --git a/deploy/helm/charts/values.yaml b/deploy/helm/charts/values.yaml index 6b38089c1..5ce203166 100644 --- a/deploy/helm/charts/values.yaml +++ b/deploy/helm/charts/values.yaml @@ -64,7 +64,7 @@ zfsNode: additionalVolumes: {} # zfsController contains the configurables for -# the zfs controller statefulset +# the zfs controller deployment zfsController: componentName: openebs-zfs-controller initContainers: {} @@ -138,7 +138,7 @@ zfsController: # zfsPlugin is the common csi container used by the -# controller statefulset and node daemonset +# controller deployment and node daemonset zfsPlugin: name: "openebs-zfs-plugin" image: diff --git a/deploy/zfs-operator.yaml b/deploy/zfs-operator.yaml index 983eb9c99..467b00359 100644 --- a/deploy/zfs-operator.yaml +++ b/deploy/zfs-operator.yaml @@ -2245,7 +2245,7 @@ description: "This priority class should be used for the OpenEBS ZFS localPV CSI --- -kind: StatefulSet +kind: Deployment apiVersion: apps/v1 metadata: name: openebs-zfs-controller