-
Notifications
You must be signed in to change notification settings - Fork 0
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
Clusterresources refs for other clusters #625
base: main
Are you sure you want to change the base?
Conversation
181a49e
to
e2755e7
Compare
type FirewallRuleSpec struct { | ||
ClusterID string `json:"clusterId"` | ||
Type string `json:"type"` | ||
Type string `json:"type"` | ||
} |
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.
How about we abandon this generic struct with only one field? There is also another one called VPCPeeringSpec
type ClusterBackupSpec struct { | ||
ClusterID string `json:"clusterId"` | ||
ClusterKind string `json:"clusterKind"` | ||
} |
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.
ClusterKind
you can move simply into the Status
and thus you will remove and simplify the code that calculates the appropriate Kind.
Another consideration is whether triggering a backup through a cluster spec enhances the user experience. Need to ask what others think.
} | ||
|
||
type PeeringStatus struct { | ||
ID string `json:"id,omitempty"` | ||
StatusCode string `json:"statusCode,omitempty"` | ||
Name string `json:"name,omitempty"` | ||
FailureReason string `json:"failureReason,omitempty"` | ||
CDCID string `json:"cdcid,omitempty"` |
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.
camel case in json
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.
fixed
AWSEndpointServicePrincipal is missing. |
No description provided.