-
Notifications
You must be signed in to change notification settings - Fork 133
feat: added skip-hash for basic auth for Konnect #1765
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
base: main
Are you sure you want to change the base?
Changes from 4 commits
dffc9fe
81e3042
caf27a1
c14ff4f
8bfe81a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,6 +106,9 @@ to get Kong's state in sync with the input state.`, | |
"thus gaining some performance with large configs.\n"+ | ||
"Usage of this flag without apt select-tags and default-lookup-tags can be problematic.\n"+ | ||
"This flag is not valid with Konnect.") | ||
syncCmd.Flags().BoolVar(&dumpConfig.SkipHashForBasicAuth, "skip-hash-for-basic-auth", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we not want this flag for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. will add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, in cases where the basic auth has been synced before without the flag, using this flag leads to no diff and so no action - that is expected, right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah. That is expected. |
||
false, "do not sync hash for basic auth credentials.\n"+ | ||
"This flag is only valid with Konnect.") | ||
syncCmd.Flags().BoolVar(&syncCmdAssumeYes, "yes", | ||
false, "assume `yes` to prompts and run non-interactively.") | ||
syncCmd.Flags().BoolVar(&syncJSONOutput, "json-output", | ||
|
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.
Why is this block necessary? 🤔