-
Notifications
You must be signed in to change notification settings - Fork 74
Pubsub v1beta1 Conversions #784
Pubsub v1beta1 Conversions #784
Conversation
Give the webhook the required RBAC.
…preserving unknown fields where needed.
/retest |
1 similar comment
/retest |
/test pull-google-knative-gcp-wi-tests |
1 similar comment
/test pull-google-knative-gcp-wi-tests |
The following is the coverage report on the affected files.
|
/test pull-google-knative-gcp-integration-tests |
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.
Thanks Adam! A lot of this looks like it could be a good candidate for a generator...
/lgtm
A couple comment nits, entirely optional for this PR.
}, | ||
}, | ||
}, | ||
func(ctx context.Context) context.Context { |
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.
Nit: add a comment about the purpose of this argument, as in https://github.com/knative/eventing/blob/1e68f1cfe5bb4f8c67aca7b09b36b973cde278dc/cmd/webhook/main.go#L333
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.
SubscriptionID: "subscriptionID", | ||
} | ||
|
||
// completePullSubscription is a PullSubscription with every filled in, except TypeMeta. |
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.
nit: every field filled in
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.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: grantr, Harwayne The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Helps with #615.
Proposed Changes
Release Note
Docs