revert new loader impl since cilium is not correctly loaded

This commit is contained in:
Adrian Stobbe 2023-07-17 10:54:13 +02:00
parent 58a7df489a
commit 3e0f872f41
6 changed files with 25 additions and 340 deletions

View file

@ -62,6 +62,18 @@ func TestIgnoreFilesInSubdirectory(t *testing.T) {
}
}
func TestLoadChartYaml(t *testing.T) {
expectToLoad := "Chart.yaml"
chart, err := loadChartsDir(helmFS, ciliumInfo.path)
require.NoError(t, err)
for _, f := range chart.Raw {
if strings.Contains(f.Name, expectToLoad) {
return
}
}
t.Error("did not find expected file")
}
func TestLoadAWSLoadBalancerValues(t *testing.T) {
sut := ChartLoader{
clusterName: "testCluster",