|
|
|
@ -78,6 +78,10 @@ icon: https://example.com/64x64.png
|
|
|
|
|
Name: "values.yaml",
|
|
|
|
|
Data: []byte("var: some values"),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
Name: "values.schema.yaml",
|
|
|
|
|
Data: []byte("type: Values"),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
Name: "templates/deployment.yaml",
|
|
|
|
|
Data: []byte("some deployment"),
|
|
|
|
@ -101,6 +105,10 @@ icon: https://example.com/64x64.png
|
|
|
|
|
t.Error("Expected chart values to be populated with default values")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if c.Schema["type"] != "Values" {
|
|
|
|
|
t.Error("Expected chart schema to be populated with default values")
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if len(c.Templates) != 2 {
|
|
|
|
|
t.Errorf("Expected number of templates == 2, got %d", len(c.Templates))
|
|
|
|
|
}
|
|
|
|
|