Skip to content

Commit

Permalink
add missing webhooks for messaging v1 (#3435)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Lopez authored Jun 29, 2020
1 parent 6c49c66 commit 7fa3b49
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions cmd/webhook/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,22 @@ func NewConversionController(ctx context.Context, cmw configmap.Watcher) *contro
messagingv1_: &messagingv1.Channel{},
},
},
messagingv1.Kind("InMemoryChannel"): {
DefinitionName: messaging.InMemoryChannelsResource.String(),
HubVersion: messagingv1beta1_,
Zygotes: map[string]conversion.ConvertibleObject{
messagingv1beta1_: &messagingv1beta1.InMemoryChannel{},
messagingv1_: &messagingv1.InMemoryChannel{},
},
},
messagingv1.Kind("Subscription"): {
DefinitionName: messaging.SubscriptionsResource.String(),
HubVersion: messagingv1beta1_,
Zygotes: map[string]conversion.ConvertibleObject{
messagingv1beta1_: &messagingv1beta1.Subscription{},
messagingv1_: &messagingv1.Subscription{},
},
},

// flows
flowsv1.Kind("Sequence"): {
Expand Down

0 comments on commit 7fa3b49

Please sign in to comment.