-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
chart(add): Grid scaler use trigger auth to secure GraphQL endpoint #2401
Conversation
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
@Doofus100500, if removing basic auth putting in URL when constructing env var |
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
To balance any requirement, config key |
@VietND96 Removed basic auth from the URL in the SE_NODE_GRID_URL variable in the cluster with basic authentication, the Playwright test passed successfully |
Thank you for your confirmation. I think we are good to go with this change |
Looks like it's breaking change in helm 0.36.0. After upgrade, nodes are not scaled, while in KEDA we have this exception:
This is happened because existing implementation of selenium grid scaler in KEDA 2.15.1 expects to receive:
Fyi, this change wasn't merged kedacore/keda#6169 |
@farioas, if there is no dependency, can you replace registry and tag to use KEDA components in our build https://github.com/SeleniumHQ/docker-selenium/blob/trunk/.keda/README.md |
@farioas, can you also try to enable |
Ok, looks like |
It was 6hrs ago, so I tried to play with embeddedUrl, but it didn't work. So I rolled back to 0.35.2 and pinned image to |
User description
Thanks for contributing to the Docker-Selenium project!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines, applied for this repository.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
username
,password
instead of putting in URL - https://github.com/SeleniumHQ/docker-selenium/blob/trunk/.keda/scalers/selenium-grid-scaler.mdMotivation and Context
Types of changes
Checklist
PR Type
enhancement, tests
Description
Changes walkthrough 📝
12 files
check-grid.sh
Add basic authentication to grid status check
Base/check-grid.sh
video.sh
Enhance video recording with GraphQL authentication
Video/video.sh
video_graphQLQuery.sh
Secure GraphQL queries with basic authentication
Video/video_graphQLQuery.sh
video_gridUrl.sh
Update grid URL handling with authentication
Video/video_gridUrl.sh
distributorProbe.sh
Secure distributor probe with authentication
charts/selenium-grid/configs/distributor/distributorProbe.sh
nodeGridUrl.sh
Refactor node grid URL handling
charts/selenium-grid/configs/node/nodeGridUrl.sh
nodePreStop.sh
Enhance node pre-stop with authentication
charts/selenium-grid/configs/node/nodePreStop.sh
nodeProbe.sh
Secure node probe with authentication
charts/selenium-grid/configs/node/nodeProbe.sh
routerGraphQLUrl.sh
Simplify router GraphQL URL handling
charts/selenium-grid/configs/router/routerGraphQLUrl.sh
routerProbe.sh
Secure router probe with authentication
charts/selenium-grid/configs/router/routerProbe.sh
_helpers.tpl
Enhance templates with authentication support
charts/selenium-grid/templates/_helpers.tpl
basic-auth-secret.yaml
Add basic authentication secret template
charts/selenium-grid/templates/basic-auth-secret.yaml
1 files
test.py
Add tests for basic authentication and URL handling
tests/charts/templates/test.py
2 files
CONFIGURATION.md
Update configuration documentation for new features
charts/selenium-grid/CONFIGURATION.md
README.md
Update README with new scaler and security info
charts/selenium-grid/README.md