Skip to content

Commit 776f7f0

Browse files
mayastor-borsniladrih
andcommitted
chore(bors): merge pull request #571
571: chore: bump localpv-provisioner dependency version to 4.1.2 r=niladrih a=niladrih Ref: openebs/dynamic-localpv-provisioner#215 Note: LocalPV version is 4.1.1 on 2.7.1, and not 4.1.0. Missed the bump on develop during 2.7.1. Co-authored-by: Niladri Halder <[email protected]>
2 parents 8f85073 + c5d5c33 commit 776f7f0

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ dependencies:
4545
repository: https://nats-io.github.io/k8s/helm/charts/
4646
condition: eventing.enabled
4747
- name: localpv-provisioner
48-
version: 4.1.0
48+
version: 4.1.2
4949
repository: https://openebs.github.io/dynamic-localpv-provisioner
5050
condition: localpv-provisioner.enabled

chart/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ This removes all the Kubernetes components associated with the chart and deletes
5959
| https://grafana.github.io/helm-charts | loki-stack | 2.9.11 |
6060
| https://jaegertracing.github.io/helm-charts | jaeger-operator | 2.50.1 |
6161
| https://nats-io.github.io/k8s/helm/charts/ | nats | 0.19.14 |
62-
| https://openebs.github.io/dynamic-localpv-provisioner | localpv-provisioner | 4.1.0 |
62+
| https://openebs.github.io/dynamic-localpv-provisioner | localpv-provisioner | 4.1.2 |
6363

6464
## Values
6565

k8s/upgrade/src/common/constants.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,6 @@ pub(crate) const TWO_DOT_FIVE: &str = "2.5.0";
5454

5555
/// Version value for the earliest possible 2.6 release.
5656
pub(crate) const TWO_DOT_SIX: &str = "2.6.0";
57+
58+
/// Version value for 2.7.2 release.
59+
pub(crate) const TWO_DOT_SEVEN_DOT_TWO: &str = "2.7.2";

k8s/upgrade/src/helm/values.rs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use crate::{
22
common::{
33
constants::{
44
KUBE_API_PAGE_SIZE, TWO_DOT_FIVE, TWO_DOT_FOUR, TWO_DOT_ONE, TWO_DOT_O_RC_ONE,
5-
TWO_DOT_SIX, TWO_DOT_THREE,
5+
TWO_DOT_SEVEN_DOT_TWO, TWO_DOT_SIX, TWO_DOT_THREE,
66
},
77
error::{
88
DeserializePromtailExtraConfig, ListCrds, Result, SemverParse,
@@ -372,6 +372,17 @@ where
372372
)?;
373373
}
374374

375+
// Special-case values for 2.7.2.
376+
let two_dot_seven_dot_two = Version::parse(TWO_DOT_SEVEN_DOT_TWO).context(SemverParse {
377+
version_string: TWO_DOT_SEVEN_DOT_TWO.to_string(),
378+
})?;
379+
if source_version.ge(&two_dot_o_rc_zero) && source_version.lt(&two_dot_seven_dot_two) {
380+
yq.delete_object(
381+
YamlKey::try_from(".localpv-provisioner.release")?,
382+
upgrade_values_file.path(),
383+
)?;
384+
}
385+
375386
// Default options.
376387
// Image tag is set because the high_priority file is the user's source options file.
377388
// The target's image tag needs to be set for PRODUCT upgrade.

0 commit comments

Comments
 (0)