-
Notifications
You must be signed in to change notification settings - Fork 5
feat(BREV-2068,BREV-2069,BREV-2070,BREV-2071): Managed k8s, VPC support for AWS, Nebius #44
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?
Conversation
|
Will set up test keys to enable e2e validation shortly. |
| case *rsa.PrivateKey, *ed25519.PrivateKey: | ||
| return k, nil | ||
| default: | ||
| return nil, fmt.Errorf("key is not an RSA private key") |
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 not waterfall on error all the way through, or if the parse succeeds, then that means we are in that key format?
| t.Fatalf("failed to get VPC: %v", err) | ||
| } | ||
|
|
||
| // err = awsClient.DeleteVPC(context.Background(), v1.DeleteVPCArgs{ |
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.
remove or restore?
| } | ||
| } | ||
| return false | ||
| return slices.Contains(c, cc) |
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.
neat
| CapabilityCreateInstance Capability = "create-instance" | ||
| CapabilityCreateIdempotentInstance Capability = "create-instance-idempotent" | ||
| CapabilityTerminateInstance Capability = "terminate-instance" | ||
| CapabilityCreateTerminateInstance Capability = "create-terminate-instance" |
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.
this verbage is a bit weird, might be worth a comment to explain what this means
| name string | ||
|
|
||
| // The unique ID used to associate with this cluster. | ||
| refID string |
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.
is the implication that this is a Brev ID? or said another way, what is the difference between id and refId?
| errs = append(errs, fmt.Errorf("clusterServerURL is required")) | ||
| } | ||
| if s.Username == "" { | ||
| errs = append(errs, fmt.Errorf("username is required")) |
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.
does this have to be unique per cluster?
| cloud string | ||
|
|
||
| // The ID assigned by the cloud provider to the VPC. | ||
| id CloudProviderResourceID |
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.
quibble: maintain ordering in our interfaces, kubernetes had this field first
No description provided.