Skip to content

Conversation

@nlu90
Copy link
Contributor

@nlu90 nlu90 commented Aug 9, 2021

solves #249

@nlu90 nlu90 requested review from freeznet, sijie and tuteng August 9, 2021 15:59
ProducerSpec: &producerSpec,
SerDeClassName: source.Spec.Output.SinkSerdeClassName,
SchemaType: source.Spec.Output.SinkSchemaType,
ForwardSourceMessageProperty: *source.Spec.ForwardSourceMessageProperty,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The webhook is not available in tests, so ForwardSourceMessageProperty might be nil if not provided.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought I add a webhook for the check. Let me know if this helps

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, but the webhook is disabled by default, and needs some extra configs to make it work. I was working on that with #238, before the webhook is working, we can consider adding kubebuilder CRD validation markers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants