Skip to content

Conversation

awgreene
Copy link
Member

@awgreene awgreene commented May 5, 2020

Replace webhook description Name field with GenerateName to match new semantics.

for background, see operator-framework/operator-lifecycle-manager#1489 (comment)

@njhale
Copy link
Member

njhale commented May 5, 2020

Looks like were missing the deepcopy changes. Running make generate should update them.

Non-pointer fields are copied during an assignment, so it makes sense that there are no changes to deepcopy in this patch.

awgreene added 2 commits May 6, 2020 11:03
Rather than providing users with an API to set the "Name" of the
webhook, instead provide users with a method to set the generateName of
the webhook.
@awgreene awgreene force-pushed the update-webhook-description branch from 2be0117 to 61c3659 Compare May 6, 2020 15:04
This commit updates the CRD validation to only accept CSVs where the
WebhookDefinition type is valid.
@awgreene awgreene force-pushed the update-webhook-description branch from 61c3659 to 19a9724 Compare May 6, 2020 15:23
@njhale
Copy link
Member

njhale commented May 6, 2020

/approve

This looks good to me!

@benluddy
Copy link
Contributor

benluddy commented May 6, 2020

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label May 6, 2020
@awgreene awgreene merged commit 7856a40 into operator-framework:master May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants