Make plugin dir match Go conventions.

This commit is contained in:
jregan
2019-04-23 23:16:23 -07:00
parent 0ac48f60a5
commit cfb0c5efad
16 changed files with 29 additions and 12 deletions

View File

@@ -67,7 +67,7 @@ spec:
func writeSecretGeneratorConfig(th *KustTestHarness, root string) {
th.writeF(filepath.Join(root, "secretGenerator.yaml"), `
apiVersion: kustomize.config.k8s.io/v1
apiVersion: builtin
kind: SecretGenerator
metadata:
name: secretGenerator
@@ -102,7 +102,7 @@ func TestSecretGenerator(t *testing.T) {
defer tc.Reset()
tc.BuildGoPlugin(
"kustomize.config.k8s.io", "v1", "SecretGenerator")
"builtin", "", "SecretGenerator")
th := NewKustTestHarnessWithPluginConfig(
t, "/app", plugin.ActivePluginConfig())