Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Fix kustomize patch target regex #197

Merged
merged 1 commit into from
Jul 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/localdev-prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -132,4 +132,4 @@ cat <&0 > ${DEPLOY_LOCAL_POSTRENDER_WORKDIR}/in.yaml

${KUSTOMIZE} build ${DEPLOY_LOCAL_POSTRENDER_WORKDIR}
EOF
chmod +x "${LOCALDEV_POSTRENDER_EXEC}"
chmod +x "${LOCALDEV_POSTRENDER_EXEC}"