-
Notifications
You must be signed in to change notification settings - Fork 69
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
[wip] Bump code dependencies to 1.13 #2573
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ReToCode 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 |
086fc24
to
95f02a5
Compare
|
||
diff --git a/vendor/sigs.k8s.io/controller-runtime/pkg/client/config/config.go b/vendor/sigs.k8s.io/controller-runtime/pkg/client/config/config.go | ||
index fd2772412..54aab6c3d 100644 | ||
--- a/vendor/sigs.k8s.io/controller-runtime/pkg/client/config/config.go |
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.
AFAIK this is no longer needed. But it might be good if someone can take another look.
"knative.dev/pkg=knative.dev/pkg@${KN_VERSION}" | ||
"knative.dev/hack=knative.dev/hack@${KN_VERSION}" | ||
"knative.dev/networking=knative.dev/networking@${KN_VERSION}" | ||
"knative.dev/reconciler-test=knative.dev/reconciler-test@${KN_VERSION}" | ||
"knative.dev/eventing-kafka-broker=github.com/openshift-knative/eventing-kafka-broker@${EVENTING_KAFKA_BROKER_VERSION}" |
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.
reordered to make sure the script runs. Eventing deps need new version of upstream deps first
@@ -66,13 +66,25 @@ func main() { | |||
os.Exit(1) | |||
} | |||
|
|||
// Setup all Webhooks |
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.
this is not longer exposed, to have a "custom" webhook, one needs to create it upfront and pass it to the manager. IMHO, might be good if somebody else can cross-check.
fea3718
to
8224d03
Compare
@@ -44,7 +46,11 @@ func (r *Reconciler) handleTLSResources(ctx context.Context, manifests *mf.Manif | |||
// Delete TLS resources (if present) | |||
toBeDeleted := manifests.Filter(tlsResourcesPred) | |||
if err := toBeDeleted.Delete(mf.IgnoreNotFound(true)); err != nil && !meta.IsNoMatchError(err) { | |||
return fmt.Errorf("failed to delete TLS resources: %v", err) |
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.
I don't know how this worked before, if CRDs are not installed, this will error out and not filter out the eventing manifests (below). With this, no resources in knative-eventing were created in make test-e2e
. The current change is only here to test, we should do this upstream, if it works. cc @creydr @matzew @pierDipi @maschmid
related to https://issues.redhat.com/browse/SRVKE-1595
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.
Note to myself, maybe the new client returns a different error that is not handled by IsNoMatchError
? In debug I see it is a groupDiscoveryError
.
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.
https://issues.redhat.com/browse/SRVKE-1595 is just a warning not affecting functionality.
I'm not sure I understand what is the real issue here as upstream and previous version works
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.
If the error is different with the new clients, I think we need to understand why and if it is intended or not
/test ? |
/test 415-mesh-e2e-aws-415 /test 415-mesh-upgrade-aws-415 /test 415-upstream-e2e-aws-415 /test 415-upstream-e2e-kafka-aws-415 /test 415-operator-e2e-aws-415 |
/test 415-operator-e2e-aws-415 |
@ReToCode: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Seems like KnativeEventing now works, but EventingKafka has a similar problem:
|
Basic changes
Changes because of golang deps
apimachinery
0.27.x (see slack discussion)apimachinery
to 1.27 requirescontroller-runtime
to be at least 0.15.xcontroller-runtime
0.15.x has major interface changes, see release noteskube-openapi
to version that is defined inapimachinery
apimachinery
minus one version to also not be too far away from our 1.25 K8s version coming from OCP 4.12006-version.patch
to new controller-runtime version./assign @skonto
/assign @creydr
/assign @mgencur
/assign @matzew
/assign @pierDipi