From b97cf8db355ccd81b2e64e3f731c856161ace773 Mon Sep 17 00:00:00 2001 From: Pranshu Srivastava Date: Tue, 13 Jul 2021 00:56:33 +0530 Subject: [PATCH] Fixed some pathnames. Hi! I encountered some faulty pathnames while going through the Readme, PTAL. --- deploy/kubernetes/webhook-example/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/kubernetes/webhook-example/README.md b/deploy/kubernetes/webhook-example/README.md index d61d7f2f..d9ea7762 100644 --- a/deploy/kubernetes/webhook-example/README.md +++ b/deploy/kubernetes/webhook-example/README.md @@ -23,7 +23,7 @@ make Build the docker image ```bash -docker build -t snapshot-validation-webhook:latest -f ./cmd/validation-webhook/Dockerfile . +docker build -t snapshot-validation-webhook:latest -f ./cmd/snapshot-validation-webhook/Dockerfile . ``` ## How to deploy the webhook @@ -69,7 +69,7 @@ Once all the pods from the deployment are up and running, you should be ready to Try to create an invalid snapshot object, the snapshot creation should fail. ```bash -kubectl create -f ./examples/kubernetes/invalid-snapshot.yaml +kubectl create -f ./examples/kubernetes/invalid-snapshot-v1.yaml ``` ### Other methods to deploy the webhook server