Make pkg/chart use expandybird-service

pull/573/head
jackgr 9 years ago
parent edcf783f65
commit a3fefbb0b7

@ -61,7 +61,7 @@ type EnvConstraint struct {
// Expander controls how template/ is evaluated.
type Expander struct {
// Currently just Expandybird or GoTemplate
// Kubernetes service name to look up in DNS.
Name string `json:"name"`
// During evaluation, which file to start from.
Entrypoint string `json:"entrypoint"`

@ -55,8 +55,8 @@ func TestLoadChartfile(t *testing.T) {
if expander == nil {
t.Errorf("No expander found in %s", testfile)
} else {
if expander.Name != "Expandybird" {
t.Errorf("Expected expander name Expandybird, got %s", expander.Name)
if expander.Name != "expandybird-service" {
t.Errorf("Expected expander name expandybird-service, got %s", expander.Name)
}
if expander.Entrypoint != "templates/wordpress.jinja" {

Binary file not shown.

@ -27,7 +27,7 @@ environment:
apiGroups:
- 3rdParty
expander:
name: Expandybird
name: expandybird-service
entrypoint: templates/wordpress.jinja
schema: wordpress.jinja.schema
Loading…
Cancel
Save