From d185bbaa589eed4e76e1f75537584f4a82bc86fa Mon Sep 17 00:00:00 2001 From: shuting Date: Wed, 22 May 2019 19:09:21 -0700 Subject: [PATCH] update mutate overlay example in readme --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ff13dcd403..d433f5d832 100644 --- a/README.md +++ b/README.md @@ -66,15 +66,17 @@ spec: - name: set-image-pull-policy resource: kinds: - - Pod + - Deployment mutate: overlay: spec: - containers: - # match images which end with :latest - - (image): "*:latest" - # set the imagePullPolicy to "Always" - imagePullPolicy: "Always" + template: + spec: + containers: + # match images which end with :latest + - (image): "*:latest" + # set the imagePullPolicy to "Always" + imagePullPolicy: "Always" ```` ### 3. Generating resources