Skip to content
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

OCPBUGS-23742: Bump controller-runtime to v0.16.3 #1001

Conversation

Miciah
Copy link
Contributor

@Miciah Miciah commented Nov 28, 2023

Remove SourceConfigMapNamespace const

Remove the SourceConfigMapNamespace const in favor of the more descriptively named GlobalUserSpecifiedConfigNamespace const, which has the same value.

Follow-up to #588.

  • pkg/operator/controller/names.go (SourceConfigMapNamespace): Delete const.
  • pkg/operator/operator.go (New): Delete SourceConfigMapNamespace from the manager options, which already includes GlobalUserSpecifiedConfigNamespace.

Bump controller-runtime to v0.16.3

Bump the vendored sigs.k8s.io/controller-runtime package to v0.16.3, the latest release, which uses the k8s.io/* v0.28.3 packages.

go get sigs.k8s.io/controller-runtime@v0.16.3
go mod tidy
go mod vendor
  • go.mod: Bump.
  • go.sum: Regenerate.
  • pkg/operator/operator.go (New): Update to use the new DefaultNamespaces field instead of Namespaces, which has been removed from the manager options.
  • pkg/operator/controller/dns/controller_test.go (Test_customCABundle): Update to use NewClientBuilder instead of NewFakeClientWithScheme, which has been removed from controller-runtime.
  • vendor/*: Regenerate.

Remove the SourceConfigMapNamespace const in favor of the more
descriptively named GlobalUserSpecifiedConfigNamespace const,
which has the same value.

Follow-up to commit 27c838c.

* pkg/operator/controller/names.go (SourceConfigMapNamespace): Delete
const.
* pkg/operator/operator.go (New): Delete SourceConfigMapNamespace from the
manager options, which already includes GlobalUserSpecifiedConfigNamespace.
Bump the vendored sigs.k8s.io/controller-runtime package to v0.16.3, the
latest release, which uses the k8s.io/* v0.28.3 packages.

    go get sigs.k8s.io/controller-runtime@v0.16.3
    go mod tidy
    go mod vendor

This commit fixes OCPBUGS-23742.

https://issues.redhat.com/browse/OCPBUGS-23742

* go.mod: Bump.
* go.sum: Regenerate.
* pkg/operator/operator.go (New): Update to use the new DefaultNamespaces
field instead of Namespaces, which has been removed from the manager
options.
* pkg/operator/controller/dns/controller_test.go (Test_customCABundle):
Update to use NewClientBuilder instead of NewFakeClientWithScheme, which
has been removed from controller-runtime.
* vendor/*: Regenerate.
@openshift-ci-robot openshift-ci-robot added jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Nov 28, 2023
@openshift-ci-robot
Copy link
Contributor

@Miciah: This pull request references Jira Issue OCPBUGS-23742, which is invalid:

  • expected the bug to target the "4.15.0" version, but no target version was set

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

Remove const

Remove the SourceConfigMapNamespace const in favor of the more descriptively named GlobalUserSpecifiedConfigNamespace const, which has the same value.

Follow-up to #588.

  • pkg/operator/controller/names.go (SourceConfigMapNamespace): Delete const.
  • pkg/operator/operator.go (New): Delete SourceConfigMapNamespace from the manager options, which already includes GlobalUserSpecifiedConfigNamespace.

Bump controller-runtime to v0.16.3

Bump the vendored sigs.k8s.io/controller-runtime package to v0.16.3, the latest release, which uses the k8s.io/* v0.28.3 packages.

go get sigs.k8s.io/controller-runtime@v0.16.3
go mod tidy
go mod vendor

  • go.mod: Bump.
  • go.sum: Regenerate.
  • pkg/operator/operator.go (New): Update to use the new DefaultNamespaces field instead of Namespaces, which has been removed from the manager options.
  • pkg/operator/controller/dns/controller_test.go (Test_customCABundle): Update to use NewClientBuilder instead of NewFakeClientWithScheme, which has been removed from controller-runtime.
  • vendor/*: Regenerate.

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.

@Miciah
Copy link
Contributor Author

Miciah commented Nov 28, 2023

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Nov 28, 2023
@openshift-ci-robot
Copy link
Contributor

@Miciah: This pull request references Jira Issue OCPBUGS-23742, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.15.0) matches configured target version for branch (4.15.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, POST)

In response to this:

/jira refresh

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.

@Miciah
Copy link
Contributor Author

Miciah commented Nov 28, 2023

e2e-gcp-operator failed because TestUnmanagedDNSToManagedDNSInternalIngressController failed, which is a known issue.
/override ci/prow/e2e-gcp-operator

Copy link
Contributor

openshift-ci bot commented Nov 28, 2023

@Miciah: Overrode contexts on behalf of Miciah: ci/prow/e2e-gcp-operator

In response to this:

e2e-gcp-operator failed because TestUnmanagedDNSToManagedDNSInternalIngressController failed, which is a known issue.
/override ci/prow/e2e-gcp-operator

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.

@gcs278
Copy link
Contributor

gcs278 commented Nov 29, 2023

/assign

@gcs278
Copy link
Contributor

gcs278 commented Nov 29, 2023

Straightforward change. I reviewed the breaking changes and nothing particular pops out at me.
/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 29, 2023
Copy link
Contributor

openshift-ci bot commented Nov 29, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gcs278

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 29, 2023
@openshift-ci-robot
Copy link
Contributor

/retest-required

Remaining retests: 0 against base HEAD bd29f8a and 2 for PR HEAD be5c3ae in total

@gcs278
Copy link
Contributor

gcs278 commented Nov 30, 2023

@Miciah looks like your override was ignored or overridden

@Miciah
Copy link
Contributor Author

Miciah commented Dec 1, 2023

/override ci/prow/e2e-gcp-operator

1 similar comment
@Miciah
Copy link
Contributor Author

Miciah commented Dec 2, 2023

/override ci/prow/e2e-gcp-operator

Copy link
Contributor

openshift-ci bot commented Dec 2, 2023

@Miciah: Overrode contexts on behalf of Miciah: ci/prow/e2e-gcp-operator

In response to this:

/override ci/prow/e2e-gcp-operator

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.

Copy link
Contributor

openshift-ci bot commented Dec 2, 2023

@Miciah: all tests passed!

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.

@openshift-merge-bot openshift-merge-bot bot merged commit d49eeec into openshift:master Dec 2, 2023
14 checks passed
@openshift-ci-robot
Copy link
Contributor

@Miciah: Jira Issue OCPBUGS-23742: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-23742 has been moved to the MODIFIED state.

In response to this:

Remove SourceConfigMapNamespace const

Remove the SourceConfigMapNamespace const in favor of the more descriptively named GlobalUserSpecifiedConfigNamespace const, which has the same value.

Follow-up to #588.

  • pkg/operator/controller/names.go (SourceConfigMapNamespace): Delete const.
  • pkg/operator/operator.go (New): Delete SourceConfigMapNamespace from the manager options, which already includes GlobalUserSpecifiedConfigNamespace.

Bump controller-runtime to v0.16.3

Bump the vendored sigs.k8s.io/controller-runtime package to v0.16.3, the latest release, which uses the k8s.io/* v0.28.3 packages.

go get sigs.k8s.io/controller-runtime@v0.16.3
go mod tidy
go mod vendor

  • go.mod: Bump.
  • go.sum: Regenerate.
  • pkg/operator/operator.go (New): Update to use the new DefaultNamespaces field instead of Namespaces, which has been removed from the manager options.
  • pkg/operator/controller/dns/controller_test.go (Test_customCABundle): Update to use NewClientBuilder instead of NewFakeClientWithScheme, which has been removed from controller-runtime.
  • vendor/*: Regenerate.

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.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

This PR has been included in build ose-cluster-ingress-operator-container-v4.15.0-202312020449.p0.gd49eeec.assembly.stream for distgit ose-cluster-ingress-operator.
All builds following this will include this PR.

@openshift-merge-robot
Copy link
Contributor

Fix included in accepted release 4.15.0-0.nightly-2023-12-02-123536

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants