-
Notifications
You must be signed in to change notification settings - Fork 178
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
feat(ossm): adds OSSM annotations to the relevant cluster resources #1088
Merged
Merged
Changes from 11 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
bfa5075
feat(ossm): adds OSSM annotations to the relevant cluster resources
cam-garrison 1408c29
fix: adds mesh annotation to the ns
bartoszmajsak 166e409
fix: use project controller created route for ds project routing (#4)
cam-garrison 47e43ac
feat: use annotation to fetch host for notebook routing (#5)
cam-garrison dd22cd7
fix: patch notebook annotations (#6)
cam-garrison c917d76
Linting fixes
cam-garrison 93aa3ae
add featureFlagEnabled() to backend, use for SM
cam-garrison a0ea817
Merge branch 'main' into ossm_annotations
bartoszmajsak abf520d
explicitly set sidecar injection annotation
cam-garrison 5b26e64
change to istio inject label from anno
cam-garrison c106663
Merge branch 'main' into ossm_annotations
cam-garrison 8376c28
remove namespacekind, use projectkind
cam-garrison 48bfe4e
lint getSMGwHost() changes
cam-garrison 6b12f82
move getDashboardConfig call, remove unnec constant
cam-garrison ca51ef3
simplify annotations fetch
cam-garrison 74b4c79
pass parsed SM flag instead ofdash config
cam-garrison b55490f
add sm manifests changes
cam-garrison 2d2244c
remove image patch
cam-garrison 104c88b
no longer poll on dashboardconfig, remove trailing slash
cam-garrison df9f285
remove unnecessary patches and rename patches in kustomization
cam-garrison 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
There are no files selected for viewing
This file contains 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 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 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 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 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 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 | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -590,6 +590,9 @@ export const getDashboardConfig = (): DashboardConfig => { | |||||||||||||||||||
return dashboardConfigWatcher.getResources()?.[0]; | ||||||||||||||||||||
}; | ||||||||||||||||||||
|
||||||||||||||||||||
export const featureFlagEnabled = (disabledSettingState?: boolean): boolean => | ||||||||||||||||||||
disabledSettingState === false; | ||||||||||||||||||||
|
||||||||||||||||||||
Comment on lines
+593
to
+595
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. I suggest adding the same comment as we have present in the frontend code.
Suggested change
|
||||||||||||||||||||
export const updateDashboardConfig = (): Promise<void> => { | ||||||||||||||||||||
return dashboardConfigWatcher.updateResults(); | ||||||||||||||||||||
}; | ||||||||||||||||||||
|
This file contains 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 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
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.
Should we fall back to retrieving the host through the route?
By enabling the flag without service mesh, we'll get an invalid url.