Skip to content

Commit

Permalink
Fix kustomize flag for make deploy-mutation
Browse files Browse the repository at this point in the history
The flag is `--load-restrictor`, not `--load_restrictor`

Signed-off-by: Will Beason <willbeason@google.com>
  • Loading branch information
Will Beason committed Jun 24, 2021
1 parent 04c7bc9 commit 809dd5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ install: manifests
deploy-mutation: patch-image
@grep -q -v 'enable-mutation' ./config/overlays/dev_mutation/manager_image_patch.yaml && sed -i '/- --operation=webhook/a \ \ \ \ \ \ \ \ - --enable-mutation=true' ./config/overlays/dev_mutation/manager_image_patch.yaml && sed -i '/- --operation=status/a \ \ \ \ \ \ \ \ - --operation=mutation-status' ./config/overlays/dev_mutation/manager_image_patch.yaml
kustomize build config/overlays/dev_mutation | kubectl apply -f -
kustomize build --load_restrictor LoadRestrictionsNone config/overlays/mutation | kubectl apply -f -
kustomize build --load-restrictor LoadRestrictionsNone config/overlays/mutation | kubectl apply -f -

# Deploy controller in the configured Kubernetes cluster in ~/.kube/config
deploy: patch-image manifests
Expand Down

0 comments on commit 809dd5b

Please sign in to comment.