-
Notifications
You must be signed in to change notification settings - Fork 500
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
add cdc types #2338
add cdc types #2338
Conversation
/run-e2e-tests |
95e85d7
to
5a68ace
Compare
pkg/apis/pingcap/v1alpha1/types.go
Outdated
@@ -335,6 +339,25 @@ type TiFlashSpec struct { | |||
LogTailer *LogTailerSpec `json:"logTailer,omitempty"` | |||
} | |||
|
|||
// TiCdcpec contains details of TiCdc members | |||
// +k8s:openapi-gen=true | |||
type TiCdcSpec struct { |
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 to add a TidbClusterRef
to indicate this TiCDC's target tidbcluster?
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.
TiCdcSpec is part of TidbCluster
, so it doesn't need the TidbClusterRef
attribute.
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.
LGTM
Can we change |
Co-authored-by: DanielZhangQD <36026334+DanielZhangQD@users.noreply.github.com>
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.
LGTM
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.
LGTM
/run-e2e-tests |
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
cherry pick to release-1.1 in PR #2449 |
What problem does this PR solve?
Add ticdc types. Part of #2056
What is changed and how does it work?
Check List
Tests
Code changes
Side effects
Related changes
Does this PR introduce a user-facing change?: