Conversation
KAAP-295 replace "_" with "-" in tenant group name
Changelist by BitoThis pull request implements the following key changes.
|
There was a problem hiding this comment.
Code Review Agent Run #35b8fc
Actionable Suggestions - 3
-
connector/keystone/keystone.go - 3
- HTTP client missing timeout configuration · Line 184-192
- Missing validation for CustomerName before usage · Line 554-558
- Missing empty check for customerName parameter · Line 593-600
Additional Suggestions - 1
-
connector/keystone/keystone.go - 1
- Added unused field to conn struct · Line 26-26
Review Details
-
Files reviewed - 1 · Commit Range:
b1673c4..1083bbf- connector/keystone/keystone.go
-
Files skipped - 0
-
Tools
- Whispers (Secret Scanner) - ✔︎ Successful
- Detect-secrets (Secret Scanner) - ✔︎ Successful
Bito Usage Guide
Commands
Type the following command in the pull request comment and save the comment.
-
/review- Manually triggers a full AI review. -
/pause- Pauses automatic reviews on this pull request. -
/resume- Resumes automatic reviews. -
/resolve- Marks all Bito-posted review comments as resolved. -
/abort- Cancels all in-progress reviews.
Refer to the documentation for additional commands.
Configuration
This repository uses Default Agent You can customize the agent settings here or contact your Bito workspace admin at mithil@platform9.com.
Documentation & Help
Code Review Agent Run #99bd4dActionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
ISSUE: Group name generation in keystone connector for dex token was using customer name from keystone host url.
Fix: added optional new field customername in keystone config.
Fixed issue with _ in the domain/tenant names, replacing it with "-"
TESTING
configured dex with -
dex login worked and the token generated with the group names -
Overview
What this PR does / why we need it
Special notes for your reviewer
Does this PR introduce a user-facing change?
Summary by Bito
This pull request enhances the keystone connector by removing customerName validation, implementing a dynamic approach to obtain customer names when missing, and adding InsecureSkipVerify configuration. It standardizes group naming by replacing underscores with hyphens for consistency, improving security, flexibility, and maintainability across the system.