Remove kv plugins from docs.

This commit is contained in:
jregan
2019-05-22 16:47:26 -07:00
parent d8f3bffe63
commit 78cdff6d09
8 changed files with 478 additions and 609 deletions

View File

@@ -10,18 +10,18 @@ import (
"sigs.k8s.io/kustomize/plugin"
)
func TestConfigMapGeneratorPlugin(t *testing.T) {
func TestBashedConfigMapPlugin(t *testing.T) {
tc := plugin.NewEnvForTest(t).Set()
defer tc.Reset()
tc.BuildExecPlugin(
"someteam.example.com", "v1", "ConfigMapGenerator")
"someteam.example.com", "v1", "BashedConfigMap")
th := kusttest_test.NewKustTestPluginHarness(t, "/app")
m := th.LoadAndRunGenerator(`
apiVersion: someteam.example.com/v1
kind: ConfigMapGenerator
kind: BashedConfigMap
metadata:
name: whatever
argsOneLiner: alice myMomsMaidenName

View File

@@ -50,5 +50,4 @@ func (p *plugin) Generate() (resmap.ResMap, error) {
}
}
return p.rf.FromSecretArgs(p.ldr, nil, args)
}