Skip to content

Commit 64cca24

Browse files
authored
Cherry-pick PR 233 to develop branch (#236)
* refactor(charts): make priorityClassName template-able (#233) Signed-off-by: Niladri Halder <[email protected]> * chore: update changelogs Signed-off-by: Niladri Halder <[email protected]> --------- Signed-off-by: Niladri Halder <[email protected]>
1 parent 4f8df11 commit 64cca24

File tree

6 files changed

+18
-5
lines changed

6 files changed

+18
-5
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
1-
v4.1.0 / 2024-07-03
1+
v4.1.3 / 2025-01-22
22
===================
33
* 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))
44
* 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+
14+
v4.1.0 / 2024-07-03
15+
===================
516
* feat(provisioner): update analytics pkg ([#188](https://github.com/openebs/dynamic-localpv-provisioner/pull/188),[@niladrih](https://github.com/niladrih))
617
* build: update base alpine image version to 3.20.1 ([#189](https://github.com/openebs/dynamic-localpv-provisioner/pull/189),[@niladrih](https://github.com/niladrih))
718

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
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
add pod priorityClassName to prevent race condition due to pod eviction
1+
add pod priorityClassName to prevent race condition due to pod eviction
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
allow specifying additional labels to be applied to all helm chart resources
1+
allow specifying additional labels to be applied to all helm chart resources

deploy/helm/charts/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ spec:
3333
{{- toYaml . | nindent 8 }}
3434
{{- end }}
3535
spec:
36-
{{- with .Values.localpv.priorityClassName }}
37-
priorityClassName: {{ . }}
36+
{{- if .Values.localpv.priorityClassName }}
37+
priorityClassName: {{ tpl .Values.localpv.priorityClassName . }}
3838
{{- end }}
3939
{{- with .Values.imagePullSecrets }}
4040
imagePullSecrets:

0 commit comments

Comments
 (0)