New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it easier to run webhook tests locally #476
Conversation
74eb138
to
cd88708
Compare
Codecov Report
@@ Coverage Diff @@
## master #476 +/- ##
=======================================
Coverage 48.80% 48.80%
=======================================
Files 13 13
Lines 754 754
=======================================
Hits 368 368
Misses 317 317
Partials 69 69 Continue to review full report at Codecov.
|
docs-md/contributing.md
Outdated
```bash | ||
kind create cluster --wait=90s --image kindest/node:v1.15.11 --name polaris-test | ||
docker build -t quay.io/fairwinds/polaris:debug . | ||
docker push quay.io/fairwinds/polaris:debug . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure the .
on the end is necessary, I get "docker push" requires exactly 1 argument.
when I run this
docs-md/contributing.md
Outdated
docker build -t quay.io/fairwinds/polaris:debug . | ||
docker push quay.io/fairwinds/polaris:debug . | ||
helm repo add jetstack https://charts.jetstack.io | ||
helm install cert-manager jetstack/cert-manager --namespace cert-manager --version 0.16.1 --set "installCRDs=true" --wait |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mind adding kubectl create ns cert-manager
above this line as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks for all the edits to make the tests run on my lowly Mac. I left a few comments around edits to the instructions, but otherwise should be set!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
You should now be able to use the included instructions to test the webhook locally.