Skip to content

Commit 70dfaab

Browse files
niladrihlaveryabernardgut
authored
Cherry-pick #182 and #183 to release/4.1 branch (#231)
* Allow specifying additional labels to be applied to all helm chart resources This is added as a top-level `labels` map within the values file. If it is populated, these labels will be added to the storageclass. It is also added to the 'localpv.labels' variable, already included within every resource besides the storageclass. Signed-off-by: Andrew Lavery <laverya@umich.edu> Signed-off-by: Niladri Halder <niladri.halder26@gmail.com> * Add pod priorityClassName Signed-off-by: Bernard Gütermann <bernard.gutermann@sekops.ch> Signed-off-by: Niladri Halder <niladri.halder26@gmail.com> * refactor(chart): refactor implementation for adding extra labels to all chart resources Signed-off-by: Niladri Halder <niladri.halder26@gmail.com> * refactor(chart): refactor implementation for adding priorityClassName Signed-off-by: Niladri Halder <niladri.halder26@gmail.com> * fix(charts): use the correct slack channel link Signed-off-by: Niladri Halder <niladri.halder26@gmail.com> * chore(changelog): add changelog entries for PRs 182 & 183 Signed-off-by: Niladri Halder <niladri.halder26@gmail.com> * ci: pin medyagh/setup-minikube runs to ubuntu-22.04 (#229) Signed-off-by: Niladri Halder <niladri.halder26@gmail.com> --------- Signed-off-by: Andrew Lavery <laverya@umich.edu> Signed-off-by: Niladri Halder <niladri.halder26@gmail.com> Signed-off-by: Bernard Gütermann <bernard.gutermann@sekops.ch> Co-authored-by: Andrew Lavery <laverya@umich.edu> Co-authored-by: Bernard Gütermann <bernard.gutermann@sekops.ch>
1 parent f66f290 commit 70dfaab

File tree

16 files changed

+59
-6
lines changed

16 files changed

+59
-6
lines changed

.github/workflows/build_and_push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
flags: unittests
6464

6565
integration-test:
66-
runs-on: ubuntu-latest
66+
runs-on: ubuntu-22.04
6767
needs: ['lint', 'unit-test']
6868
strategy:
6969
matrix:

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
flags: unittests
7979

8080
integration-test:
81-
runs-on: ubuntu-latest
81+
runs-on: ubuntu-22.04
8282
needs: ['lint', 'unit-test']
8383
strategy:
8484
matrix:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
flags: unittests
8484

8585
integration-test:
86-
runs-on: ubuntu-latest
86+
runs-on: ubuntu-22.04
8787
needs: ['lint', 'unit-test']
8888
strategy:
8989
matrix:

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
v4.1.3 / 2025-01-22
2+
===================
3+
* Add pod priorityClassName to prevent race condition due to pod eviction ([#182](https://github.com/openebs/dynamic-localpv-provisioner/pull/182),[@bernardgut](https://github.com/bernardgut))
4+
* Allow specifying additional labels to be applied to all helm chart resources ([#183](https://github.com/openebs/dynamic-localpv-provisioner/pull/183),[@laverya](https://github.com/laverya))
5+
6+
v4.1.2 / 2024-11-28
7+
===================
8+
* Fix bug where analytics toggle env configuration doesn't disable analytics ([#211](https://github.com/openebs/dynamic-localpv-provisioner/pull/211),[@emosbaugh](https://github.com/emosbaugh))
9+
10+
v4.1.1 / 2024-09-13
11+
===================
12+
* Update analytics dependency to v0.3.0 ([#200](https://github.com/openebs/dynamic-localpv-provisioner/pull/200),[@niladrih](https://github.com/niladrih))
13+
114
v4.1.0 / 2024-07-03
215
===================
316
* feat(provisioner): update analytics pkg ([#188](https://github.com/openebs/dynamic-localpv-provisioner/pull/188),[@niladrih](https://github.com/niladrih))
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update analytics dependency to v0.3.0
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix bug where analytics toggle env configuration doesn't disable analytics
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
add pod priorityClassName to prevent race condition due to pod eviction
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
allow specifying additional labels to be applied to all helm chart resources

deploy/helm/charts/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ helm install openebs-localpv openebs-localpv/localpv-provisioner --namespace ope
7070
| ------------------------------------------- |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------|
7171
| `analytics.enabled` | Enable sending stats to Google Analytics | `true` |
7272
| `analytics.pingInterval` | Duration(hours) between sending ping stat | `24h` |
73+
| `extraLabels` | Additional labels to add to all chart resources | `{}` |
7374
| `helperPod.image.registry` | Registry for helper image | `""` |
7475
| `helperPod.image.repository` | Image for helper pod | `"openebs/linux-utils"` |
7576
| `helperPod.image.pullPolicy` | Pull policy for helper pod | `"IfNotPresent"` |
@@ -101,6 +102,7 @@ helm install openebs-localpv openebs-localpv/localpv-provisioner --namespace ope
101102
| `localpv.replicas` | No. of LocalPV Provisioner replica | `1` |
102103
| `localpv.enableLeaderElection` | Enable leader election | `true` |
103104
| `localpv.affinity` | LocalPV Provisioner pod affinity | `{}` |
105+
| `localpv.priorityClassName` | Sets priorityClassName in pod | `""` |
104106
| `rbac.create` | Enable RBAC Resources | `true` |
105107
| `rbac.pspEnabled` | Create pod security policy resources | `false` |
106108

deploy/helm/charts/templates/NOTES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ blockdevices attached to the Kubernetes cluster nodes.
88
Get started with the Dynamic LocalPV Provisioner Quickstart guide at:
99
https://github.com/openebs/dynamic-localpv-provisioner/blob/develop/docs/quickstart.md
1010

11-
For more information, visit our Slack at https://openebs.io/community or view
11+
For more information, visit our Slack at https://kubernetes.slack.com/messages/openebs or view
1212
the OpenEBS documentation online at https://openebs.io/docs

0 commit comments

Comments
 (0)