-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
chart(add): Grid scaler use trigger auth to secure GraphQL endpoint #2401
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
Conversation
Signed-off-by: Viet Nguyen Duc <[email protected]>
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨
|
|
@Doofus100500, if removing basic auth putting in URL when constructing env var |
Signed-off-by: Viet Nguyen Duc <[email protected]>
|
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,passwordinstead 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 checkBase/check-grid.sh
video.sh
Enhance video recording with GraphQL authenticationVideo/video.sh
video_graphQLQuery.sh
Secure GraphQL queries with basic authenticationVideo/video_graphQLQuery.sh
video_gridUrl.sh
Update grid URL handling with authenticationVideo/video_gridUrl.sh
distributorProbe.sh
Secure distributor probe with authenticationcharts/selenium-grid/configs/distributor/distributorProbe.sh
nodeGridUrl.sh
Refactor node grid URL handlingcharts/selenium-grid/configs/node/nodeGridUrl.sh
nodePreStop.sh
Enhance node pre-stop with authenticationcharts/selenium-grid/configs/node/nodePreStop.sh
nodeProbe.sh
Secure node probe with authenticationcharts/selenium-grid/configs/node/nodeProbe.sh
routerGraphQLUrl.sh
Simplify router GraphQL URL handlingcharts/selenium-grid/configs/router/routerGraphQLUrl.sh
routerProbe.sh
Secure router probe with authenticationcharts/selenium-grid/configs/router/routerProbe.sh
_helpers.tpl
Enhance templates with authentication supportcharts/selenium-grid/templates/_helpers.tpl
basic-auth-secret.yaml
Add basic authentication secret templatecharts/selenium-grid/templates/basic-auth-secret.yaml
1 files
test.py
Add tests for basic authentication and URL handlingtests/charts/templates/test.py
2 files
CONFIGURATION.md
Update configuration documentation for new featurescharts/selenium-grid/CONFIGURATION.md
README.md
Update README with new scaler and security infocharts/selenium-grid/README.md