From 6ada09fcc102df6e16fb17e7d13e6750e82b4e7c Mon Sep 17 00:00:00 2001 From: Aditya Sharma Date: Thu, 28 Jul 2022 14:35:27 -0700 Subject: [PATCH] Fix kustomize patch target regex Signed-off-by: Aditya Sharma --- scripts/localdev-prepare.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/localdev-prepare.sh b/scripts/localdev-prepare.sh index 7bf0020..5c57847 100755 --- a/scripts/localdev-prepare.sh +++ b/scripts/localdev-prepare.sh @@ -91,11 +91,11 @@ patches: - path: patch-deployment.yaml target: kind: Deployment - name: "*" + name: ".*" - path: patch-rollout.yaml target: kind: Rollout - name: "*" + name: ".*" EOF localdev_postrender_patch_deployment="${DEPLOY_LOCAL_POSTRENDER_WORKDIR}/patch-deployment.yaml" @@ -132,4 +132,4 @@ cat <&0 > ${DEPLOY_LOCAL_POSTRENDER_WORKDIR}/in.yaml ${KUSTOMIZE} build ${DEPLOY_LOCAL_POSTRENDER_WORKDIR} EOF -chmod +x "${LOCALDEV_POSTRENDER_EXEC}" \ No newline at end of file +chmod +x "${LOCALDEV_POSTRENDER_EXEC}"