diff --git a/.gitignore b/.gitignore index 2a3910c..6d123ea 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ Chart.lock charts +# IDEs +**/.idea \ No newline at end of file diff --git a/README.md b/README.md index 8cdba86..0860d45 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ OpenEBS helm chart includes common components that are used by multiple engines - Security Policies like RBAC, PSP, Kyverno Engine charts included as dependencies are: -- [Mayastor](https://github.com/openebs/mayastor-extensions/tree/v2.4.0/chart) +- [Mayastor](https://github.com/openebs/mayastor-extensions/tree/v2.5.0/chart) - [cStor](https://github.com/openebs/cstor-operators/tree/HEAD/deploy/helm/charts) - [Jiva](https://github.com/openebs/jiva-operator/tree/HEAD/deploy/helm/charts) - [ZFS Local PV](https://github.com/openebs/zfs-localpv/tree/HEAD/deploy/helm/charts) diff --git a/charts/openebs/Chart.yaml b/charts/openebs/Chart.yaml index ba2f48a..c933b8d 100644 --- a/charts/openebs/Chart.yaml +++ b/charts/openebs/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 -version: 3.9.0 +version: 3.10.0 name: openebs -appVersion: 3.9.0 +appVersion: 3.10.0 description: Containerized Attached Storage for Kubernetes icon: https://raw.githubusercontent.com/cncf/artwork/HEAD/projects/openebs/icon/color/openebs-icon-color.png home: http://www.openebs.io/ @@ -28,30 +28,30 @@ dependencies: repository: "https://openebs.github.io/node-disk-manager" condition: openebs-ndm.enabled - name: localpv-provisioner - version: "3.4.1" + version: "3.5.0" repository: "https://openebs.github.io/dynamic-localpv-provisioner" condition: localpv-provisioner.enabled - name: cstor - version: "3.5.0" + version: "3.6.0" repository: "https://openebs.github.io/cstor-operators" condition: cstor.enabled - name: jiva - version: "3.5.1" + version: "3.6.0" repository: "https://openebs.github.io/jiva-operator" condition: jiva.enabled - name: zfs-localpv - version: "2.3.1" + version: "2.4.0" repository: "https://openebs.github.io/zfs-localpv" condition: zfs-localpv.enabled - name: lvm-localpv - version: "1.3.0" + version: "1.4.0" repository: "https://openebs.github.io/lvm-localpv" condition: lvm-localpv.enabled - name: nfs-provisioner - version: "0.10.0" + version: "0.11.0" repository: "https://openebs.github.io/dynamic-nfs-provisioner" condition: nfs-provisioner.enabled - name: mayastor - version: "2.4.0" + version: "2.5.0" repository: "https://openebs.github.io/mayastor-extensions" condition: mayastor.enabled diff --git a/charts/openebs/README.md b/charts/openebs/README.md index 0d2ab1b..1e4bf7e 100644 --- a/charts/openebs/README.md +++ b/charts/openebs/README.md @@ -141,14 +141,14 @@ The following table lists the common configurable parameters of the OpenEBS char | `localprovisioner.basePath` | BasePath for hostPath volumes on Nodes | `/var/openebs/local` | | `localprovisioner.enabled` | Enable localProvisioner | `true` | | `localprovisioner.image` | Image for localProvisioner | `openebs/provisioner-localpv` | -| `localprovisioner.imageTag` | Image Tag for localProvisioner | `3.4.0` | +| `localprovisioner.imageTag` | Image Tag for localProvisioner | `3.5.0` | | `mayastor.enabled` | Enable mayastor (disables localprovisioner and ndm) | `false` | | `mayastor.etcd.replicaCount` | Set the number of etcd replicas in the | `3` | | `mayastor.etcd.persistence.storageClass` | Set the StorageClass name used to provision the volume(s) for the etcd | `""` | | `mayastor.etcd.persistence.size` | Set the size of the volume(s) used by the etcd | `""` | | `mayastor.image.registry` | Set the container image registry for the mayastor containers | `"docker.io"` | | `mayastor.image.repo` | Set the container image repository for the mayastor containers | `"openebs"` | -| `mayastor.image.tag` | Set the container image tag for the mayastor containers | `"v2.4.0"` | +| `mayastor.image.tag` | Set the container image tag for the mayastor containers | `"v2.5.0"` | | `mayastor.image.pullPolicy` | Set the container ImagePullPolicy for the mayastor containers | `"Always"` | | `mayastor.csi.image.registry` | Set the container image registry for the Kubernetes CSI sidecar containers | `"registry.k8s.io"` | | `mayastor.csi.image.repo` | Set the container image repository for the Kubernetes CSI sidecar containers | `"sig-storage"` | diff --git a/charts/openebs/templates/clusterrole.yaml b/charts/openebs/templates/clusterrole.yaml index 3a8d3ce..73e2600 100644 --- a/charts/openebs/templates/clusterrole.yaml +++ b/charts/openebs/templates/clusterrole.yaml @@ -45,6 +45,9 @@ rules: - apiGroups: ["admissionregistration.k8s.io"] resources: ["validatingwebhookconfigurations", "mutatingwebhookconfigurations"] verbs: ["get", "create", "list", "delete", "update", "patch"] +- apiGroups: ["coordination.k8s.io"] + resources: ["leases"] + verbs: ["get", "create", "update"] - nonResourceURLs: ["/metrics"] verbs: ["get"] {{- end }} diff --git a/charts/openebs/values.yaml b/charts/openebs/values.yaml index a5afbf8..8229dc4 100644 --- a/charts/openebs/values.yaml +++ b/charts/openebs/values.yaml @@ -18,7 +18,7 @@ imagePullSecrets: [] release: # "openebs.io/version" label for control plane components - version: "3.9.0" + version: "3.10.0" # Legacy components will be installed if it is enabled. # Legacy components are - admission-server, maya api-server, snapshot-operator @@ -95,7 +95,7 @@ provisioner: localprovisioner: enabled: true image: "openebs/provisioner-localpv" - imageTag: "3.4.0" + imageTag: "3.5.0" replicas: 1 enableLeaderElection: true # These fields are deprecated. Please use the fields (see below) @@ -356,7 +356,7 @@ webhook: # then put this configuration under `localpv-provisioner` and `openebs-ndm` key. helper: image: "openebs/linux-utils" - imageTag: "3.4.0" + imageTag: "3.5.0" # These are ndm related configuration. If you want to enable openebs as a dependency # chart then set `ndm.enabled: false`, `ndmOperator.enabled: false` and enable it as @@ -404,7 +404,7 @@ mayastor: # Sample configuration, if you want to configure mayastor with custom values. # This is a small part of the full configuration. Full configuration available - # here - https://github.com/openebs/mayastor-extensions/blob/v2.4.0/chart/values.yaml + # here - https://github.com/openebs/mayastor-extensions/blob/v2.5.0/chart/values.yaml image: # -- Image registry to pull Mayastor product images @@ -412,7 +412,7 @@ mayastor: # -- Image registry's namespace repo: openebs # -- Release tag for Mayastor images - tag: v2.4.0 + tag: v2.5.0 # -- ImagePullPolicy for Mayastor images pullPolicy: IfNotPresent @@ -502,11 +502,11 @@ mayastor: # # -- csi-attacher image release tag # attacherTag: v4.3.0 # # -- csi-snapshotter image release tag - # snapshotterTag: v6.2.1 + # snapshotterTag: v6.3.1 # # -- csi-snapshot-controller image release tag - # snapshotControllerTag: v6.2.1 + # snapshotControllerTag: v6.3.1 # # -- csi-node-driver-registrar image release tag - # registrarTag: v2.8.0 + # registrarTag: v2.9.0 # controller: # # -- Log level for the csi controller @@ -526,6 +526,8 @@ mayastor: # tolerations: [] # # -- Set PriorityClass, overrides global # priorityClassName: "" + # # -- Prevent modifying the volume mode when creating a PVC from an existing VolumeSnapshot + # preventVolumeModeConversion: true # node: # logLevel: info # topology: @@ -545,8 +547,10 @@ mayastor: # # -- Memory requests for csi node plugin # memory: "64Mi" # nvme: - # # -- The nvme_core module io timeout in seconds - # io_timeout: "30" + # # The nvme_core module and nvme block io timeout in humantime + # # By default it uses the "io_engine.nvme.ioTimeout" + 10s + # # Do not modify this unless you're really sure about its effects + # io_timeout: "" # # -- The ctrl_loss_tmo (controller loss timeout) in seconds # ctrl_loss_tmo: "1980" # # Kato (keep alive timeout) in seconds @@ -593,6 +597,23 @@ mayastor: # size: 2Gi # podAntiAffinityPreset: "hard" + # nvme: + # # -- Timeout for IOs + # # The default here is exaggerated for local disks but we've observed that in + # # shared virtual environments having a higher timeout value is beneficial. + # # In certain cases, you may have to set this to an even higher value. For example, + # # in Hetzner we've had better results setting it to 300s. + # # Please adjust this according to your hardware and needs. + # ioTimeout: "110s" + # # Timeout for admin commands + # adminTimeout: "30s" + # # Timeout for keep alives + # keepAliveTimeout: "10s" + # tcp: + # # -- Max size setting (both initiator and target) for an NVMe queue + # # -- You may need to increase this for a higher outstanding IOs per volume + # maxQueueDepth: "32" + # loki-stack: # # -- Enable loki log collection for Mayastor components # enabled: true @@ -663,17 +684,17 @@ jiva: # image: # registry: quay.io/ # repository: openebs/jiva -# tag: 3.5.0 +# tag: 3.6.0 # replica: # image: # registry: quay.io/ # repository: openebs/jiva -# tag: 3.5.0 +# tag: 3.6.0 # image: # registry: quay.io/ # repository: openebs/jiva-operator # pullPolicy: IfNotPresent -# tag: 3.5.0 +# tag: 3.6.0 # # jivaCSIPlugin: # remount: "true" @@ -681,7 +702,7 @@ jiva: # registry: quay.io/ # repository: openebs/jiva-csi # pullPolicy: IfNotPresent -# tag: 3.5.0 +# tag: 3.6.0 cstor: @@ -732,51 +753,51 @@ cstor: # image: # registry: quay.io/ # repository: openebs/cstor-pool-manager -# tag: 3.5.0 +# tag: 3.6.0 # cstorPool: # image: # registry: quay.io/ # repository: openebs/cstor-pool -# tag: 3.5.0 +# tag: 3.6.0 # cstorPoolExporter: # image: # registry: quay.io/ # repository: openebs/m-exporter -# tag: 3.5.0 +# tag: 3.6.0 # image: # registry: quay.io/ # repository: openebs/cspc-operator # pullPolicy: IfNotPresent -# tag: 3.5.0 +# tag: 3.6.0 # # cvcOperator: # target: # image: # registry: quay.io/ # repository: openebs/cstor-istgt -# tag: 3.5.0 +# tag: 3.6.0 # volumeMgmt: # image: # registry: quay.io/ # repository: openebs/cstor-volume-manager -# tag: 3.5.0 +# tag: 3.6.0 # volumeExporter: # image: # registry: quay.io/ # repository: openebs/m-exporter -# tag: 3.5.0 +# tag: 3.6.0 # image: # registry: quay.io/ # repository: openebs/cvc-operator # pullPolicy: IfNotPresent -# tag: 3.5.0 +# tag: 3.6.0 # # cstorCSIPlugin: # image: # registry: quay.io/ # repository: openebs/cstor-csi-driver # pullPolicy: IfNotPresent -# tag: 3.5.0 +# tag: 3.6.0 # # admissionServer: # componentName: cstor-admission-webhook @@ -784,7 +805,7 @@ cstor: # registry: quay.io/ # repository: openebs/cstor-webhook # pullPolicy: IfNotPresent -# tag: 3.5.0 +# tag: 3.6.0 # ndm configuration goes here # https://openebs.github.io/node-disk-manager @@ -832,7 +853,7 @@ openebs-ndm: # registry: quay.io/ # repository: openebs/linux-utils # pullPolicy: IfNotPresent -# tag: 3.4.0 +# tag: 3.5.0 # # featureGates: # enabled: true @@ -885,7 +906,7 @@ localpv-provisioner: # image: # registry: quay.io/ # repository: openebs/provisioner-localpv -# tag: 3.4.0 +# tag: 3.5.0 # pullPolicy: IfNotPresent # healthCheck: # initialDelaySeconds: 30 @@ -899,7 +920,7 @@ localpv-provisioner: # registry: quay.io/ # repository: openebs/linux-utils # pullPolicy: IfNotPresent -# tag: 3.4.0 +# tag: 3.5.0 # zfs local pv configuration goes here # ref - https://openebs.github.io/zfs-localpv @@ -920,7 +941,7 @@ zfs-localpv: # registry: quay.io/ # repository: openebs/zfs-driver # pullPolicy: IfNotPresent -# tag: 2.3.0 +# tag: 2.4.0 # lvm local pv configuration goes here # ref - https://openebs.github.io/lvm-localpv @@ -941,7 +962,7 @@ lvm-localpv: # registry: quay.io/ # repository: openebs/lvm-driver # pullPolicy: IfNotPresent -# tag: 1.3.0 +# tag: 1.4.0 # openebs nfs provisioner configuration goes here # ref - https://openebs.github.io/dynamic-nfs-provisioner @@ -961,13 +982,13 @@ nfs-provisioner: # image: # registry: # repository: openebs/provisioner-nfs -# tag: 0.10.0 +# tag: 0.11.0 # pullPolicy: IfNotPresent # enableLeaderElection: "true" # nfsServerAlpineImage: # registry: # repository: openebs/nfs-server-alpine -# tag: 0.10.0 +# tag: 0.11.0 cleanup: image: