add support for exec plugins

This commit is contained in:
Jingfang Liu
2019-04-12 15:41:41 -07:00
parent 28cb6daec7
commit f6e01cfda7
11 changed files with 263 additions and 108 deletions

View File

@@ -128,7 +128,7 @@ type: Opaque
`)
}
func xTestConfigMapGenerator(t *testing.T) {
func TestConfigMapGenerator(t *testing.T) {
tc := NewTestEnvController(t).Set()
defer tc.Reset()
@@ -146,6 +146,7 @@ apiVersion: someteam.example.com/v1
kind: ConfigMapGenerator
metadata:
name: some-random-name
arg: "admin secret"
`)
m, err := th.makeKustTarget().MakeCustomizedResMap()
if err != nil {