-
Notifications
You must be signed in to change notification settings - Fork 18
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
Rebase code with latest main after the refactor and implement UI for ondemand GKE #1384
Rebase code with latest main after the refactor and implement UI for ondemand GKE #1384
Conversation
@@ -283,9 +299,94 @@ const OnDemandK8sAWSStep: React.FC<ResourceDialogProps> = ({ | |||
); | |||
}; | |||
|
|||
const OnDemandK8sGCPStep: React.FC<ResourceDialogProps> = ({ |
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.
interface OnDemandK8sStepProps extends ResourceDialogProps { | ||
handlePrevious: () => void; | ||
handleAWSClick: () => void; | ||
handleGCPClick: () => void; |
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.
We've changed this to onSelectProvider
so we shouldn't need to add an extra handler here
service_account_key: '', | ||
}; | ||
|
||
export const GCPDialog: React.FC<ResourceDialogProps> = () => { |
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.
similarly, update with changes in #1380 and follow a few pattern updates. The main necessary thing is to add a type to ResourceDialogProps
here
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.
Do we need any update to dialog.tsx
?
Describe your changes and why you are making these changes
This PR rebases @jpurusho65 's PR against
main
, fixes a few bugs and also implements registering ondemand GKE from the UI.Related issue number (if any)
Loom demo (if any)
Checklist before requesting a review
python3 scripts/run_linters.py -h
for usage).run_integration_test
: Runs integration testsskip_integration_test
: Skips integration tests (Should be used when changes are ONLY documentation/UI)