Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit 04caaa6

Browse files
committed
[#22] Use cluster DNS to resolve IP for RO-Hooks
1 parent 134d8a7 commit 04caaa6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,8 +359,7 @@ jobs:
359359
run: |
360360
helm -n integration-tests install test-scan ./scanner/test-scan/ --set="parserImage.tag=sha-$(git rev-parse --short HEAD)"
361361
helm -n integration-tests install http-webhook ./demo-apps/http-webhook
362-
WEB_HOOK_IP=$(kubectl get -n integration-tests service/http-webhook -o jsonpath='{.spec.clusterIP}')
363-
helm -n integration-tests install ro-hook ./hooks/generic-webhook/ --set="webhookUrl=http://$WEB_HOOK_IP/hallo-welt"
362+
helm -n integration-tests install ro-hook ./hooks/generic-webhook/ --set="webhookUrl=http://http-webhook/hallo-welt"
364363
cd tests/integration/
365364
npx jest --ci --color read-only-hook
366365
helm -n integration-tests uninstall test-scan http-webhook ro-hook

0 commit comments

Comments
 (0)