-
Notifications
You must be signed in to change notification settings - Fork 0
feat: moved to multicluster-provider #25
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
Open
vertex451
wants to merge
51
commits into
main
Choose a base branch
from
feat/multi-cluster-runtime
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 46 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
f4ce3f1
chore: migrated to multi-cluster provider
vertex451 4999ab2
pulled main
vertex451 82ce421
addressed comments
vertex451 70e5a05
fixed kcp gateway connection
vertex451 c04cab2
removed http2 workaround
vertex451 b5a328d
linter
vertex451 903e39a
cleanup
vertex451 e84c1f7
removed tls
vertex451 9919cf0
iterate
vertex451 3f5976f
fix discovery check
vertex451 fea6b34
fixed virtual workspace
vertex451 b8f3ade
dynamic virtual workspace resolution
vertex451 1be4f83
made app exit on virtual-ws failure
vertex451 0c9ac2d
incapsulated clusterNameCtxKey
vertex451 1aa7ca0
added dedicated helper for ws path
vertex451 a5efb28
pulled main
vertex451 36eff27
centralized context keys
vertex451 907f251
removed redundant wrappers
vertex451 c7193e2
improved logging in ClusterPathResolver
vertex451 b366f2b
made clusterPathResolver as a KCPManager field
vertex451 98ab379
removed hardcoded fallback in clusterpath
vertex451 70b65c2
iterate
vertex451 ad6be7a
iterate
vertex451 e9b4c33
cleanup
vertex451 5c4741d
consistent error handling
vertex451 e3b5705
add validation of virtual ws fields
vertex451 7d6d82c
differentiate between shutdown reasons
vertex451 330ffe4
corrected virtual ws patter check
vertex451 282ef8b
exponential backoff
vertex451 5b62aa1
removed deprecated alias
vertex451 3ab0b6e
iterate
vertex451 3225d75
pulled main
vertex451 d01584a
improve reconciler coversage
vertex451 bcc07f3
coverage
vertex451 988e7b7
scalars test
vertex451 b808fd2
more tests
vertex451 1869a61
addressed scalar bug
vertex451 e8beffd
Merge branch 'main' of github.com:platform-mesh/kubernetes-graphql-ga…
vertex451 779f42c
iterate
vertex451 f6bab1c
replaced log.Error with log.Fatal
vertex451 97cc1c0
replaced context.Background with t.Context() in tests
vertex451 4494be2
decomposed isDiscoveryRequest logic
vertex451 409185a
removed redundant url parsing
vertex451 662bcef
normal shutdown in case of context cancelation
vertex451 e695399
eliminated false positive in worksapce detection
vertex451 73cc293
added type asser
vertex451 00c6e87
fix bug in ws
vertex451 ffa9ba8
Merge branch 'main' of github.com:platform-mesh/kubernetes-graphql-ga…
vertex451 f664fa9
addressed comments
vertex451 b1b9c7d
used er.Go() in gateway cmd
vertex451 9c8652a
pulled main
vertex451 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| package auth | ||
|
|
||
| // ExtractCAFromKubeconfigB64ForTest exposes the extractCAFromKubeconfigB64 method for testing | ||
| func (m *MetadataInjector) ExtractCAFromKubeconfigB64ForTest(kubeconfigB64 string) []byte { | ||
| return m.extractCAFromKubeconfigB64(kubeconfigB64) | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
tbh i am not fully happy with the context and error handling, maybe we find a better solution in the future
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.
I can fix context propagation, but I am not sure what would you improve here in this select statement.
Please, give details if you have any, and I will create an issue.
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.
Attention, untested: This could be an idea using
errgroupMaybe we don't even need our own context and can only use the signal context. The errgroup returns it's own context that is cancelled if one function returns with an error.
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.
I will also do it in this issue:
#62
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.
Addressed in this PR.
And closed the issue I created.