Skip to content

Commit

Permalink
CLD 3784 Bump Velero version (#711)
Browse files Browse the repository at this point in the history
Co-authored-by: Muhammad Shahid <muhammadshahidtag@gmail.com>
  • Loading branch information
Mshahidtaj and Muhammad Shahid committed Sep 2, 2022
1 parent 4baab01 commit ef4228e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions internal/api/request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func TestNewCreateClusterRequestFromReader(t *testing.T) {
"kubecost": {Chart: "1.95.0", ValuesPath: ""},
"node-problem-detector": {Chart: "2.0.5", ValuesPath: ""},
"metrics-server": {Chart: "3.8.2", ValuesPath: ""},
"velero": {Chart: "2.29.4", ValuesPath: ""},
"velero": {Chart: "2.31.3", ValuesPath: ""},
"cloudprober": {Chart: "0.1.0", ValuesPath: ""},
},
}
Expand Down Expand Up @@ -109,7 +109,7 @@ func TestNewCreateClusterRequestFromReader(t *testing.T) {
"kubecost": {Chart: "1.95.0", ValuesPath: ""},
"node-problem-detector": {Chart: "2.0.5", ValuesPath: ""},
"metrics-server": {Chart: "3.8.2", ValuesPath: ""},
"velero": {Chart: "2.29.4", ValuesPath: ""},
"velero": {Chart: "2.31.3", ValuesPath: ""},
"cloudprober": {Chart: "0.1.0", ValuesPath: ""},
},
}, clusterRequest)
Expand Down
2 changes: 1 addition & 1 deletion model/cluster_utility.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ var DefaultUtilityVersions map[string]*HelmUtilityVersion = map[string]*HelmUtil
// MetricsServerCanonicalName defines the default version and values path for the Helm chart
MetricsServerCanonicalName: {Chart: "3.8.2", ValuesPath: ""},
// VeleroCanonicalName defines the default version for the Helm chart
VeleroCanonicalName: {Chart: "2.29.4", ValuesPath: ""},
VeleroCanonicalName: {Chart: "2.31.3", ValuesPath: ""},
// CloudproberCanonicalName defines the default version for the Helm chart
CloudproberCanonicalName: {Chart: "0.1.0", ValuesPath: ""},
}
Expand Down
6 changes: 3 additions & 3 deletions model/cluster_utility_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func TestGetActualVersion(t *testing.T) {
Kubecost: &HelmUtilityVersion{Chart: "cost-analyzer-1.95.0"},
NodeProblemDetector: &HelmUtilityVersion{Chart: "node-problem-detector-2.0.5"},
MetricsServer: &HelmUtilityVersion{Chart: "metrics-server-3.8.2"},
Velero: &HelmUtilityVersion{Chart: "velero-2.29.4"},
Velero: &HelmUtilityVersion{Chart: "velero-2.31.3"},
Cloudprober: &HelmUtilityVersion{Chart: "cloudprober-0.1.0"},
},
},
Expand Down Expand Up @@ -195,7 +195,7 @@ func TestGetActualVersion(t *testing.T) {
assert.Equal(t, &HelmUtilityVersion{Chart: "metrics-server-3.8.2"}, version)

version = c.ActualUtilityVersion(VeleroCanonicalName)
assert.Equal(t, &HelmUtilityVersion{Chart: "velero-2.29.4"}, version)
assert.Equal(t, &HelmUtilityVersion{Chart: "velero-2.31.3"}, version)

version = c.ActualUtilityVersion(CloudproberCanonicalName)
assert.Equal(t, &HelmUtilityVersion{Chart: "cloudprober-0.1.0"}, version)
Expand Down Expand Up @@ -234,7 +234,7 @@ func TestGetDesiredVersion(t *testing.T) {
Kubecost: &HelmUtilityVersion{Chart: "cost-analyzer-1.95.0"},
NodeProblemDetector: &HelmUtilityVersion{Chart: "node-problem-detector-2.0.5"},
MetricsServer: &HelmUtilityVersion{Chart: "metrics-server-3.8.2"},
Velero: &HelmUtilityVersion{Chart: "velero-2.29.4"},
Velero: &HelmUtilityVersion{Chart: "velero-2.31.3"},
Cloudprober: &HelmUtilityVersion{Chart: "cloudprober-0.1.0"},
},
},
Expand Down

0 comments on commit ef4228e

Please sign in to comment.