Skip to content

Commit 457e703

Browse files
authored
Merge pull request #334 from arbourd/deprecated-values-file-test
2 parents 404cf50 + 42ec2fb commit 457e703

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

controllers/helmrelease_controller_chart_test.go

+8-8
Original file line numberDiff line numberDiff line change
@@ -267,8 +267,8 @@ func Test_buildHelmChartFromTemplate(t *testing.T) {
267267
Name: "test-repository",
268268
Kind: "HelmRepository",
269269
},
270-
Interval: &metav1.Duration{Duration: 2 * time.Minute},
271-
ValuesFile: "values.yaml",
270+
Interval: &metav1.Duration{Duration: 2 * time.Minute},
271+
ValuesFiles: []string{"values.yaml"},
272272
},
273273
},
274274
},
@@ -294,8 +294,8 @@ func Test_buildHelmChartFromTemplate(t *testing.T) {
294294
Name: "test-repository",
295295
Kind: "HelmRepository",
296296
},
297-
Interval: metav1.Duration{Duration: 2 * time.Minute},
298-
ValuesFile: "values.yaml",
297+
Interval: metav1.Duration{Duration: 2 * time.Minute},
298+
ValuesFiles: []string{"values.yaml"},
299299
},
300300
},
301301
},
@@ -316,8 +316,8 @@ func Test_buildHelmChartFromTemplate(t *testing.T) {
316316
Name: "test-repository",
317317
Kind: "HelmRepository",
318318
},
319-
Interval: metav1.Duration{Duration: 2 * time.Minute},
320-
ValuesFile: "values.yaml",
319+
Interval: metav1.Duration{Duration: 2 * time.Minute},
320+
ValuesFiles: []string{"values.yaml"},
321321
},
322322
},
323323
},
@@ -338,8 +338,8 @@ func Test_buildHelmChartFromTemplate(t *testing.T) {
338338
Name: "test-repository",
339339
Kind: "HelmRepository",
340340
},
341-
Interval: metav1.Duration{Duration: time.Minute},
342-
ValuesFile: "values.yaml",
341+
Interval: metav1.Duration{Duration: time.Minute},
342+
ValuesFiles: []string{"values.yaml"},
343343
},
344344
},
345345
},

0 commit comments

Comments
 (0)