Skip to content

Commit

Permalink
change "bases:" to "resources:"
Browse files Browse the repository at this point in the history
  • Loading branch information
monopole committed Sep 13, 2019
1 parent e898c52 commit e011f3b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkg/target/basereusenameprefix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,26 @@ import (
func TestBaseReuseNameConflict(t *testing.T) {
th := kusttest_test.NewKustTestHarness(t, "/app")
th.WriteK("/app/component1/base", `
bases:
resources:
- ../../shared
namePrefix: component1-
`)
th.WriteK("/app/component1/overlay", `
bases:
resources:
- ../base
namePrefix: overlay-
`)

th.WriteK("/app/component2/base", `
bases:
resources:
- ../../shared
namePrefix: component2-
`)
th.WriteK("/app/component2/overlay", `
bases:
resources:
- ../base
namePrefix: overlay-
Expand Down Expand Up @@ -112,7 +112,7 @@ spec:
`)

th.WriteK("/app", `
bases:
resources:
- component1/overlay
- component2/overlay
`)
Expand Down

0 comments on commit e011f3b

Please sign in to comment.