From 7130e3ff1d656d0a616fffa3c67adf828bec3bbb Mon Sep 17 00:00:00 2001 From: Yujun Zhang Date: Sun, 17 Mar 2019 08:51:14 +0800 Subject: [PATCH] Leave defautconfig empty for images `containers` and `initContainers` of *ANY* kind in *ANY* path are builtin supported in code --- pkg/transformers/config/defaultconfig/images.go | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/pkg/transformers/config/defaultconfig/images.go b/pkg/transformers/config/defaultconfig/images.go index f67521183..7612b616c 100644 --- a/pkg/transformers/config/defaultconfig/images.go +++ b/pkg/transformers/config/defaultconfig/images.go @@ -17,15 +17,7 @@ limitations under the License. package defaultconfig const ( - imagesFieldSpecs = ` -images: -- kind: Pod - path: spec/initContainers -- kind: Pod - path: spec/containers -- kind: Deployment - path: spec/template/spec/initContainers -- kind: Deployment - path: spec/template/spec/containers -` + // imageFieldSpecs is left empty since `containers` and `initContainers` + // of *ANY* kind in *ANY* path are builtin supported in code + imagesFieldSpecs = `` )