Skip to content

Commit 077394c

Browse files
niladrihnjuptlzf
andauthored
feat(chart): release changes for v0.11.0 (#178)
* fix(ci): update helm/chart-testing-action to v2.6.1 Signed-off-by: Niladri Halder <[email protected]> * feat(helm): add gcEnable configuration to chart for PR #167 Signed-off-by: Kasakaze <[email protected]> Signed-off-by: Niladri Halder <[email protected]> * charts: change helm value enableGarbageCollection to a bool Signed-off-by: Niladri Halder <[email protected]> --------- Signed-off-by: Niladri Halder <[email protected]> Signed-off-by: Kasakaze <[email protected]> Co-authored-by: Kasakaze <[email protected]>
1 parent f1d124e commit 077394c

File tree

6 files changed

+20
-9
lines changed

6 files changed

+20
-9
lines changed

.github/workflows/chart-lint-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
check-latest: true
3333

3434
- name: Set up chart-testing
35-
uses: helm/[email protected].0
35+
uses: helm/[email protected].1
3636

3737
- name: Run chart-testing (list-changed)
3838
id: list-changed

cmd/provisioner-nfs/main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ package main
1919
import (
2020
"os"
2121

22-
"github.com/openebs/dynamic-nfs-provisioner/cmd/provisioner-nfs/app"
2322
logger "github.com/openebs/maya/pkg/logs"
23+
24+
"github.com/openebs/dynamic-nfs-provisioner/cmd/provisioner-nfs/app"
2425
)
2526

2627
func main() {

deploy/helm/charts/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ description: Helm chart for OpenEBS Dynamic NFS PV. For instructions to install
44
type: application
55
# This is the chart version. This version number should be incremented each time you make changes
66
# to the chart and its templates, including the app version.
7-
version: 0.10.2
7+
version: 0.11.0
88
# This is the version number of the application being deployed. This version number should be
99
# incremented each time you make changes to the application.
10-
appVersion: 0.10.0
10+
appVersion: 0.11.0
1111
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png
1212
home: http://www.openebs.io/
1313
keywords:

deploy/helm/charts/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,22 +117,23 @@ helm install openebs-nfs openebs-nfs/nfs-provisioner --namespace openebs --creat
117117
| `nfsProvisioner.healthCheck.periodSeconds` | How often to perform the liveness probe | `60` |
118118
| `nfsProvisioner.image.registry` | Registry for NFS Provisioner image | `""` |
119119
| `nfsProvisioner.image.repository` | Image repository for NFS Provisioner | `openebs/provisioner-nfs` |
120-
| `nfsProvisioner.image.tag` | Image tag for NFS Provisioner | `0.10.0` |
120+
| `nfsProvisioner.image.tag` | Image tag for NFS Provisioner | `0.11.0` |
121121
| `nfsProvisioner.image.pullPolicy` | Image pull policy for NFS Provisioner image | `IfNotPresent` |
122122
| `nfsProvisioner.annotations` | Annotations for NFS Provisioner metadata | `""` |
123123
| `nfsProvisioner.nodeSelector` | Nodeselector for NFS Provisioner pod | `""` |
124124
| `nfsProvisioner.nfsServerAlpineImage.registry` | Registry for nfs-server-alpine | `""` |
125125
| `nfsProvisioner.nfsServerAlpineImage.repository` | Image repository for nfs-server-alpine | `openebs/nfs-server-alpine` |
126-
| `nfsProvisioner.nfsServerAlpineImage.tag` | Image tag for nfs-server-alpine | `0.10.0` |
126+
| `nfsProvisioner.nfsServerAlpineImage.tag` | Image tag for nfs-server-alpine | `0.11.0` |
127127
| `nfsProvisioner.resources` | Resource request and limit for the container | `true` |
128128
| `nfsProvisioner.securityContext` | Security context for container | `""` |
129129
| `nfsProvisioner.tolerations` | NFS Provisioner pod toleration values | `""` |
130130
| `nfsProvisioner.nfsServerNamespace` | NFS server namespace | `"openebs"` |
131131
| `nfsProvisioner.nfsServerNodeAffinity` | NFS Server node affinity rules | `""` |
132132
| `nfsProvisioner.nfsBackendPvcTimeout` | Timeout for backend PVC binding in seconds | `"60"` |
133133
| `nfsProvisioner.nfsHookConfigMap` | Existing Configmap name to load hook configuration | `""` |
134+
| `nfsProvisioner.enableGarbageCollection` | Enable garbage collection for the backend PVC | `true` |
134135
| `nfsStorageClass.backendStorageClass` | StorageClass to be used to provision the backend volume. If not specified, the default StorageClass is used. | `""` |
135-
| `nfsStorageClass.mountOptions` | NFS mount options to be passed on to storageclass | `[]`
136+
| `nfsStorageClass.mountOptions` | NFS mount options to be passed on to storageclass | `[]`
136137
| `nfsStorageClass.isDefaultClass` | Make 'openebs-kernel-nfs' the default StorageClass | `"false"` |
137138
| `nfsStorageClass.reclaimPolicy` | ReclaimPolicy for NFS PVs | `"Delete"` |
138139
| `nfsStorageClass.leaseTime` | Renewal period(in seconds) for NFS client state | `90` |

deploy/helm/charts/templates/deployment.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,13 @@ spec:
103103
- name: OPENEBS_IO_NFS_SERVER_NODE_AFFINITY
104104
value: "{{ .Values.nfsProvisioner.nfsServerNodeAffinity }}"
105105
{{- end }}
106-
{{- if .Values.nfsProvisioner.nfsBackendPvcTimeout }}
106+
# Provide a switch to turn off the function of clearing stale pvc to avoid
107+
# garbage collecting an NFS backend PVC if the NFS PVC is deleted.
108+
{{- if .Values.nfsProvisioner.enableGarbageCollection }}
109+
- name: OPENEBS_IO_NFS_SERVER_GARBAGE_COLLECTION_ENABLED
110+
value: {{ quote .Values.nfsProvisioner.enableGarbageCollection }}
111+
{{- end }}
112+
{{- if .Values.nfsProvisioner.nfsBackendPvcTimeout }}
107113
- name: OPENEBS_IO_NFS_SERVER_BACKEND_PVC_TIMEOUT
108114
value: "{{ .Values.nfsProvisioner.nfsBackendPvcTimeout }}"
109115
{{- end }}

deploy/helm/charts/values.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ nfsProvisioner:
4040
tag:
4141
pullPolicy: IfNotPresent
4242
enableLeaderElection: "true"
43+
# Provide a switch to turn off the function of clearing stale pvc to avoid
44+
# garbage collecting an NFS backend PVC if the NFS PVC is deleted.
45+
enableGarbageCollection: true
4346
# Specify image name of nfs-server-alpine used for creating nfs server deployment
4447
# If not mentioned, default value openebs/nfs-server-alpine:tag will be used where
4548
# the tag will be the same as a provisioner-nfs image tag
@@ -113,7 +116,7 @@ nfsStorageClass:
113116
# for the NFS server's shared filesystem volume.
114117
# File permission changes are applied recursively if the root of the
115118
# volume's filesystem does not match the specified value.
116-
# For more information: https://github.com/openebs/dynamic-nfs-provisioner/blob/develop/docs/tutorial/file-permissions.md
119+
# For more info: https://github.com/openebs/dynamic-nfs-provisioner/blob/develop/docs/tutorial/file-permissions.md
117120
filePermissions: {}
118121
# The UID value is used to set the user-owner of NFS shared directory. Only valid
119122
# UIDs are accepted.

0 commit comments

Comments
 (0)