Skip to content

Commit

Permalink
[stable/lvm]: update lvm charts to release 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekpandey14 authored and kmova committed Jul 16, 2021
1 parent c3d4563 commit 725bde8
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 7 deletions.
4 changes: 2 additions & 2 deletions deploy/helm/charts/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
name: lvm-localpv
description: CSI Driver for dynamic provisioning of LVM Persistent Local Volumes.
version: 0.6.2
appVersion: 0.6.0
version: 0.7.0
appVersion: 0.7.0
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png
home: http://www.openebs.io/
keywords:
Expand Down
28 changes: 25 additions & 3 deletions deploy/helm/charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,18 @@ Please visit the [link](https://openebs.github.io/lvm-localpv/) for install inst

```console
# Helm
$ helm install [RELEASE_NAME] openebs-lvmlocalpv/lvm-localpv
$ helm install [RELEASE_NAME] openebs-lvmlocalpv/lvm-localpv --namespace [NAMESPACE]
```

<details>
<summary>Click here if you're using MicroK8s.</summary>

```console
microk8s helm3 install [RELEASE_NAME] openebs-lvmlocalpv/lvm-localpv --namespace [NAMESPACE] --set-string lvmNode.kubeletDir="/var/snap/microk8s/common/var/lib/kubelet/"
```
</details>


**Note:** If moving from the operator to helm
- Make sure the namespace provided in the helm install command is same as `LVM_NAMESPACE` (by default it is `openebs`) env in the controller statefulset.
- Before installing, clean up the stale statefulset and daemonset from `kube-system` namespace using the below commands
Expand Down Expand Up @@ -65,20 +74,33 @@ _See [helm uninstall](https://helm.sh/docs/helm/helm_uninstall/) for command doc

```console
# Helm
$ helm upgrade [RELEASE_NAME] [CHART] --install
$ helm upgrade [RELEASE_NAME] [CHART] --install --namespace [NAMESPACE]
```

## Configuration

The following table lists the configurable parameters of the OpenEBS LVM Localpv chart and their default values.

```console
helm install openebs-lvmlocalpv openebs-lvmlocalpv/lvm-localpv --namespace openebs --create-namespace
```
<details>
<summary>Click here if you're using MicroK8s.</summary>

If you are using MicroK8s, it is necessary to add the following flag:

```console
--set-string lvmNode.kubeletDir="/var/snap/microk8s/common/var/lib/kubelet/"
```
</details>

| Parameter| Description| Default|
| -| -| -|
| `imagePullSecrets`| Provides image pull secrect| `""`|
| `lvmPlugin.image.registry`| Registry for openebs-lvm-plugin image| `""`|
| `lvmPlugin.image.repository`| Image repository for openebs-lvm-plugin| `openebs/lvm-driver`|
| `lvmPlugin.image.pullPolicy`| Image pull policy for openebs-lvm-plugin| `IfNotPresent`|
| `lvmPlugin.image.tag`| Image tag for openebs-lvm-plugin| `0.6.0`|
| `lvmPlugin.image.tag`| Image tag for openebs-lvm-plugin| `0.7.0`|
| `lvmPlugin.metricsPort`| The TCP port number used for exposing lvm-metrics | `9500`|
| `lvmNode.driverRegistrar.image.registry`| Registry for csi-node-driver-registrar image| `k8s.gcr.io/`|
| `lvmNode.driverRegistrar.image.repository`| Image repository for csi-node-driver-registrar| `sig-storage/csi-node-driver-registrar`|
Expand Down
4 changes: 2 additions & 2 deletions deploy/helm/charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
release:
version: "0.6.0"
version: "0.7.0"

imagePullSecrets:
# - name: "image-pull-secret"
Expand Down Expand Up @@ -126,7 +126,7 @@ lvmPlugin:
repository: openebs/lvm-driver
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: 0.6.0
tag: 0.7.0
ioLimits:
enabled: false
containerRuntime: containerd
Expand Down

0 comments on commit 725bde8

Please sign in to comment.