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

[release-0.18] 🐛 Recreate watcher if the file unlinked and replaced #2919

Conversation

k8s-infra-cherrypick-robot

This is an automated cherry-pick of #2893

/assign vincepri

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 12, 2024
@k8s-ci-robot k8s-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Aug 12, 2024
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 12, 2024
@k8s-ci-robot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 2b71a933026d424721613d367ab7c9455e4f41a6

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: k8s-infra-cherrypick-robot, vincepri

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 12, 2024
@sbueringer
Copy link
Member

/lgtm

@sbueringer
Copy link
Member

/retest

unrelated flake

@k8s-ci-robot k8s-ci-robot merged commit 75a38d2 into kubernetes-sigs:release-0.18 Aug 12, 2024
7 checks passed
renovate bot referenced this pull request in validator-labs/validator-plugin-oci Aug 12, 2024
…262)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[sigs.k8s.io/controller-runtime](https://togithub.com/kubernetes-sigs/controller-runtime)
| `v0.18.4` -> `v0.18.5` |
[![age](https://developer.mend.io/api/mc/badges/age/go/sigs.k8s.io%2fcontroller-runtime/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/sigs.k8s.io%2fcontroller-runtime/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/sigs.k8s.io%2fcontroller-runtime/v0.18.4/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/sigs.k8s.io%2fcontroller-runtime/v0.18.4/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>kubernetes-sigs/controller-runtime
(sigs.k8s.io/controller-runtime)</summary>

###
[`v0.18.5`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.5)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.4...v0.18.5)

#### What's Changed

- 🐛 Suppress API server warnings in the client by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2890](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2890)
- 🐛 AddMetricsServerExtraHandler: Info takes key/value pairs by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2917](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2917)
- 🐛 Recreate watcher if the file unlinked and replaced by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2919](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2919)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.18.4...v0.18.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/validator-labs/validator-plugin-oci).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwiZ28iXX0=-->

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
ahmad-ibra referenced this pull request in validator-labs/validator-plugin-azure Aug 12, 2024
…237)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[sigs.k8s.io/controller-runtime](https://togithub.com/kubernetes-sigs/controller-runtime)
| `v0.18.4` -> `v0.18.5` |
[![age](https://developer.mend.io/api/mc/badges/age/go/sigs.k8s.io%2fcontroller-runtime/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/sigs.k8s.io%2fcontroller-runtime/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/sigs.k8s.io%2fcontroller-runtime/v0.18.4/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/sigs.k8s.io%2fcontroller-runtime/v0.18.4/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>kubernetes-sigs/controller-runtime
(sigs.k8s.io/controller-runtime)</summary>

###
[`v0.18.5`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.5)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.4...v0.18.5)

#### What's Changed

- 🐛 Suppress API server warnings in the client by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2890](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2890)
- 🐛 AddMetricsServerExtraHandler: Info takes key/value pairs by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2917](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2917)
- 🐛 Recreate watcher if the file unlinked and replaced by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2919](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2919)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.18.4...v0.18.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/validator-labs/validator-plugin-azure).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwiZ28iXX0=-->

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in validator-labs/validator Aug 12, 2024
…382)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[sigs.k8s.io/controller-runtime](https://togithub.com/kubernetes-sigs/controller-runtime)
| `v0.18.4` -> `v0.18.5` |
[![age](https://developer.mend.io/api/mc/badges/age/go/sigs.k8s.io%2fcontroller-runtime/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/sigs.k8s.io%2fcontroller-runtime/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/sigs.k8s.io%2fcontroller-runtime/v0.18.4/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/sigs.k8s.io%2fcontroller-runtime/v0.18.4/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>kubernetes-sigs/controller-runtime
(sigs.k8s.io/controller-runtime)</summary>

###
[`v0.18.5`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.5)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.4...v0.18.5)

#### What's Changed

- 🐛 Suppress API server warnings in the client by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2890](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2890)
- 🐛 AddMetricsServerExtraHandler: Info takes key/value pairs by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2917](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2917)
- 🐛 Recreate watcher if the file unlinked and replaced by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2919](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2919)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.18.4...v0.18.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/validator-labs/validator).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwiZ28iXX0=-->

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
ahmad-ibra referenced this pull request in validator-labs/validator-plugin-aws Aug 12, 2024
…459)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[sigs.k8s.io/controller-runtime](https://togithub.com/kubernetes-sigs/controller-runtime)
| `v0.18.4` -> `v0.18.5` |
[![age](https://developer.mend.io/api/mc/badges/age/go/sigs.k8s.io%2fcontroller-runtime/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/sigs.k8s.io%2fcontroller-runtime/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/sigs.k8s.io%2fcontroller-runtime/v0.18.4/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/sigs.k8s.io%2fcontroller-runtime/v0.18.4/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>kubernetes-sigs/controller-runtime
(sigs.k8s.io/controller-runtime)</summary>

###
[`v0.18.5`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.5)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.4...v0.18.5)

#### What's Changed

- 🐛 Suppress API server warnings in the client by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2890](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2890)
- 🐛 AddMetricsServerExtraHandler: Info takes key/value pairs by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2917](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2917)
- 🐛 Recreate watcher if the file unlinked and replaced by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2919](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2919)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.18.4...v0.18.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/validator-labs/validator-plugin-aws).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwiZ28iXX0=-->

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
ahmad-ibra referenced this pull request in validator-labs/validator-plugin-network Aug 12, 2024
…248)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[sigs.k8s.io/controller-runtime](https://togithub.com/kubernetes-sigs/controller-runtime)
| `v0.18.4` -> `v0.18.5` |
[![age](https://developer.mend.io/api/mc/badges/age/go/sigs.k8s.io%2fcontroller-runtime/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/sigs.k8s.io%2fcontroller-runtime/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/sigs.k8s.io%2fcontroller-runtime/v0.18.4/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/sigs.k8s.io%2fcontroller-runtime/v0.18.4/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>kubernetes-sigs/controller-runtime
(sigs.k8s.io/controller-runtime)</summary>

###
[`v0.18.5`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.5)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.4...v0.18.5)

#### What's Changed

- 🐛 Suppress API server warnings in the client by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2890](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2890)
- 🐛 AddMetricsServerExtraHandler: Info takes key/value pairs by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2917](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2917)
- 🐛 Recreate watcher if the file unlinked and replaced by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2919](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2919)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.18.4...v0.18.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/validator-labs/validator-plugin-network).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwiZ28iXX0=-->

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot referenced this pull request in validator-labs/validator-plugin-vsphere Aug 12, 2024
…326)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[sigs.k8s.io/controller-runtime](https://togithub.com/kubernetes-sigs/controller-runtime)
| `v0.18.4` -> `v0.18.5` |
[![age](https://developer.mend.io/api/mc/badges/age/go/sigs.k8s.io%2fcontroller-runtime/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/sigs.k8s.io%2fcontroller-runtime/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/sigs.k8s.io%2fcontroller-runtime/v0.18.4/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/sigs.k8s.io%2fcontroller-runtime/v0.18.4/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>kubernetes-sigs/controller-runtime
(sigs.k8s.io/controller-runtime)</summary>

###
[`v0.18.5`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.5)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.4...v0.18.5)

#### What's Changed

- 🐛 Suppress API server warnings in the client by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2890](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2890)
- 🐛 AddMetricsServerExtraHandler: Info takes key/value pairs by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2917](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2917)
- 🐛 Recreate watcher if the file unlinked and replaced by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2919](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2919)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.18.4...v0.18.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/validator-labs/validator-plugin-vsphere).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwiZ28iXX0=-->

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
codeboten referenced this pull request in open-telemetry/opentelemetry-collector-contrib Aug 14, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[sigs.k8s.io/controller-runtime](https://togithub.com/kubernetes-sigs/controller-runtime)
| `v0.17.3` -> `v0.18.5` |
[![age](https://developer.mend.io/api/mc/badges/age/go/sigs.k8s.io%2fcontroller-runtime/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/sigs.k8s.io%2fcontroller-runtime/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/sigs.k8s.io%2fcontroller-runtime/v0.17.3/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/sigs.k8s.io%2fcontroller-runtime/v0.17.3/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>kubernetes-sigs/controller-runtime
(sigs.k8s.io/controller-runtime)</summary>

###
[`v0.18.5`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.5)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.4...v0.18.5)

#### What's Changed

- 🐛 Suppress API server warnings in the client by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2890](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2890)
- 🐛 AddMetricsServerExtraHandler: Info takes key/value pairs by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2917](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2917)
- 🐛 Recreate watcher if the file unlinked and replaced by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2919](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2919)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.18.4...v0.18.5

###
[`v0.18.4`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.4)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.3...v0.18.4)

#### What's Changed

- \[release-0.18] ✨ controllerutil: configure BlockOwnerDeletion when
setting OwnerReference by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2848](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2848)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.18.3...v0.18.4

###
[`v0.18.3`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.3)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.2...v0.18.3)

#### What's Changed

- ✨ setup-envtest: download binaries from controller-tools releases by
[@&#8203;sbueringer](https://togithub.com/sbueringer) in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2837](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2837)
- 🌱 Bump k8s.io/\* to v0.30.1 by
[@&#8203;sbueringer](https://togithub.com/sbueringer) in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2840](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2840)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.18.2...v0.18.3

###
[`v0.18.2`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.2)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.1...v0.18.2)

##### What's Changed

- 🐛 Reintroduce AddMetricsServerExtraHandler on manager by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2817](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2817)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.18.1...v0.18.2

###
[`v0.18.1`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.1)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.0...v0.18.1)

##### What's Changed

- \[release-0.18] 🐛 Cache: Fix label defaulting of byObject when
namespaces are configured by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2808](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2808)
- \[release-0.18] 🐛 correct kind source type by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2809](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2809)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.18.0...v0.18.1

###
[`v0.18.0`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.0)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.17.6...v0.18.0)

#### ⚠️ Breaking Changes

- Bump to k8s.io/\* v1.30
([#&#8203;2693](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2693)
[#&#8203;2754](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2754)
[#&#8203;2765](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2765)
[#&#8203;2776](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2776)
[#&#8203;2786](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2786))
- Remove deprecated v1alpha1.ControllerManagerConfiguration
([#&#8203;2648](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2648))
- admission.Decoder is now an interface
([#&#8203;2736](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2736))
- Source, Event, Predicate, Handler: Add generics support
([#&#8203;2783](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2783)
[#&#8203;2796](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2796))
- client: Fix SubResourceCreateOptions signature in subresource client
([#&#8203;2766](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2766))

#### ✨ New Features

- cache: Add TransformStripManagedFields transform func
([#&#8203;2791](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2791))
- client: Add client.WithFieldOwner to configure client-wide
FieldManager
([#&#8203;2771](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2771)
[#&#8203;2777](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2777))
- controller: Add `NewQueue` option
([#&#8203;2767](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2767))
- manager: Export HTTP server runnable implementation
([#&#8203;2473](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2473))
- metrics/server: Add `ListenConfig` option
([#&#8203;2519](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2519))

#### 🐛 Bug Fixes

- builder/webhook: Return error if For() is used multiple times
([#&#8203;2740](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2740))
- cache: Keep selectors when byObject.Namespaces is defaulted
([#&#8203;2747](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2747))
- cache: Prevent race when informers are started more than once
([#&#8203;2758](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2758))
- fake client: Allow fakeclient to patch CR with no resourceVersion
([#&#8203;2725](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2725))
- fake client: Do not consider an apply patch to be a strategic merge
patch
([#&#8203;2679](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2679))
- manager: Prevent leader election when shutting down a non-elected
manager
([#&#8203;2724](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2724))
- manager: Runnable group should check if stopped before enqueueing
([#&#8203;2757](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2757))
- restmapper: Clean restmapper cache if a version is notFound
([#&#8203;2663](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2663))
- restmapper: Fix cache invalidation
([#&#8203;2687](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2687))

#### 🌱 Others

- ci: Add OSSF scorecard action
([#&#8203;2714](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2714))
- ci: Improve github actions dependencies versions and permissions
([#&#8203;2715](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2715))
- ci: Pin checkout action in golangci-lint action, bump checkout action,
use consistent tag format
([#&#8203;2729](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2729))
- ci: Update golangci-lint to v1.57.2
([#&#8203;2708](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2708)
[#&#8203;2751](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2751))
- ci: Update scorecard github action
([#&#8203;2728](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2728))
- ci: Use go-install for versioned dependencies
([#&#8203;2710](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2710))
- envtest: WaitForDefaultNamespace while starting up envtest
([#&#8203;2668](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2668))
- owners: Cleanup owners files
([#&#8203;2730](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2730))
- owners: Remove outdated testing framework approvers
([#&#8203;2709](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2709))
- predicate: Compare labels and annotations using maps.Equal
([#&#8203;2705](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2705))
- typos: Fix typo of CacheReader comment
([#&#8203;2773](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2773))
- typos: Fix typo in channel option
([#&#8203;2792](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2792))
- typos: Minor typo fixes in docstrings
([#&#8203;2727](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2727))

:book: Additionally, there have been 3 contributions to our
documentation and book.
([#&#8203;2712](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2712),
[#&#8203;2770](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2770),
[#&#8203;2789](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2789))

#### Dependencies

##### Added

- github.com/fxamacker/cbor/v2:
[v2.6.0](https://togithub.com/fxamacker/cbor/tree/v2.6.0)
- github.com/x448/float16:
[v0.8.4](https://togithub.com/x448/float16/tree/v0.8.4)
- golang.org/x/telemetry:
[`b75ee88`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/b75ee88)
- k8s.io/gengo/v2:
[`51d4e06`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/51d4e06)

##### Changed

- github.com/evanphx/json-patch/v5: [v5.8.0 →
v5.9.0](https://togithub.com/evanphx/json-patch/compare/v5.8.0...v5.9.0)
- github.com/golang/protobuf: [v1.5.3 →
v1.5.4](https://togithub.com/golang/protobuf/compare/v1.5.3...v1.5.4)
- github.com/google/cel-go: [v0.17.7 →
v0.17.8](https://togithub.com/google/cel-go/compare/v0.17.7...v0.17.8)
- github.com/onsi/ginkgo/v2: [v2.14.0 →
v2.17.1](https://togithub.com/onsi/ginkgo/compare/v2.14.0...v2.17.1)
- github.com/onsi/gomega: [v1.30.0 →
v1.32.0](https://togithub.com/onsi/gomega/compare/v1.30.0...v1.32.0)
- github.com/prometheus/client_golang: [v1.18.0 →
v1.16.0](https://togithub.com/prometheus/client_golang/compare/v1.18.0...v1.16.0)
- github.com/prometheus/client_model: [v0.5.0 →
v0.4.0](https://togithub.com/prometheus/client_model/compare/v0.5.0...v0.4.0)
- github.com/prometheus/common: [v0.45.0 →
v0.44.0](https://togithub.com/prometheus/common/compare/v0.45.0...v0.44.0)
-   golang.org/x/crypto: v0.16.0 → v0.21.0
-   golang.org/x/mod: v0.14.0 → v0.15.0
-   golang.org/x/net: v0.19.0 → v0.23.0
-   golang.org/x/sync: v0.5.0 → v0.6.0
-   golang.org/x/sys: v0.16.0 → v0.18.0
-   golang.org/x/term: v0.15.0 → v0.18.0
-   golang.org/x/tools: v0.16.1 → v0.18.0
-   google.golang.org/protobuf: v1.31.0 → v1.33.0
-   k8s.io/api: v0.29.0 → v0.30.0
-   k8s.io/apiextensions-apiserver: v0.29.0 → v0.30.0
-   k8s.io/apimachinery: v0.29.0 → v0.30.0
-   k8s.io/apiserver: v0.29.0 → v0.30.0
-   k8s.io/client-go: v0.29.0 → v0.30.0
-   k8s.io/code-generator: v0.29.0 → v0.30.0
-   k8s.io/component-base: v0.29.0 → v0.30.0
-   k8s.io/klog/v2: v2.110.1 → v2.120.1
-   k8s.io/kms: v0.29.0 → v0.30.0
- k8s.io/kube-openapi:
[`2dd684a`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/2dd684a)
→
[`70dd376`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/70dd376)
- sigs.k8s.io/apiserver-network-proxy/konnectivity-client: v0.28.0 →
v0.29.0
-   sigs.k8s.io/yaml: v1.4.0 → v1.3.0

##### Removed

- github.com/matttproud/golang_protobuf_extensions/v2:
[v2.0.0](https://togithub.com/matttproud/golang_protobuf_extensions/tree/v2.0.0)
-   go.uber.org/atomic: v1.10.0
- k8s.io/gengo:
[`9cce18d`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/9cce18d)

*Thanks to all our contributors!* 😊

###
[`v0.17.6`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.6)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.17.5...v0.17.6)

#### What's Changed

- ✨ setup-envtest: download binaries from controller-tools releases by
[@&#8203;damdo](https://togithub.com/damdo) in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2843](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2843)
- 🐛 Recreate watcher if the file unlinked and replaced by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2920](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2920)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.17.5...v0.17.6

###
[`v0.17.5`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.5)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.17.4...v0.17.5)

#### What's Changed

- 🐛 Reintroduce AddMetricsServerExtraHandler on manager by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2815](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2815)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.17.4...v0.17.5

###
[`v0.17.4`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.4)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.17.3...v0.17.4)

#### What's Changed

- \[release-0.17] ✨ client: Add client-wide fieldManager by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2772](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2772)
- \[release-0.17] 🐛 Cache: Fix label defaulting of byObject when
namespaces are configured by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2807](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2807)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.17.3...v0.17.4

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <[email protected]>
Co-authored-by: Yang Song <[email protected]>
arturshadnik referenced this pull request in validator-labs/validator-plugin-maas Aug 20, 2024
…124)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[sigs.k8s.io/controller-runtime](https://togithub.com/kubernetes-sigs/controller-runtime)
| `v0.18.4` -> `v0.19.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/sigs.k8s.io%2fcontroller-runtime/v0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/sigs.k8s.io%2fcontroller-runtime/v0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/sigs.k8s.io%2fcontroller-runtime/v0.18.4/v0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/sigs.k8s.io%2fcontroller-runtime/v0.18.4/v0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>kubernetes-sigs/controller-runtime
(sigs.k8s.io/controller-runtime)</summary>

###
[`v0.19.0`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.19.0)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.5...v0.19.0)

#### ⚠️ Deprecation Warnings

Please note that `admission.Defaulter/Validator` have been deprecated in
favor of `admission.CustomDefaulter/CustomValidator` since v0.17 and
will be removed with v0.20.

#### ⚠️ Breaking Changes

- Bump to k8s.io/\* v1.31
([#&#8203;2798](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2798)
[#&#8203;2858](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2858)
[#&#8203;2867](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2867)
[#&#8203;2872](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2872)
[#&#8203;2883](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2883)
[#&#8203;2900](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2900)
[#&#8203;2906](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2906)
[#&#8203;2924](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2924))
- Add generic TypedReconciler
([#&#8203;2799](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2799))
- client: Remove options.WarningHandler
([#&#8203;2887](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2887)
[#&#8203;2903](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2903))
- controller: Validate controller names are unique & add
SkipNameValidation option
([#&#8203;2902](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2902)
[#&#8203;2918](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2918))

#### ✨ New Features

- client: Add WithFieldValidation client
([#&#8203;2860](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2860)
[#&#8203;2913](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2913))
- controller & webhook: Recover panics per default & add panic metrics
([#&#8203;2905](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2905))
- controllerutil: configure BlockOwnerDeletion when setting
OwnerReference
([#&#8203;2847](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2847))
- fake client: Add scale subresource logic
([#&#8203;2855](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2855))
- predicate: Add missing generic version of
ResourceVersionChangedPredicate
([#&#8203;2812](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2812))
- setup-envtest: Download binaries from controller-tools releases
instead of GCS
([#&#8203;2811](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2811))
- setup-envtest: Publish setup-envtest binaries via release attachments
([#&#8203;2911](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2911))
- workqueue: Add `controller` label to workqueue metrics
([#&#8203;2895](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2895))

#### 🐛 Bug Fixes

- apiutil.IsGVKNamespaced: Fix namespaced GVK check to use version
([#&#8203;2875](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2875))
- cache: Fix label defaulting of byObject when namespaces are configured
([#&#8203;2805](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2805))
- certwatcher: Recreate watcher if the file is unlinked and replaced
([#&#8203;2893](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2893))
- manager: Fix log in AddMetricsServerExtraHandler
([#&#8203;2874](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2874))
- manager: Quiet context.Canceled errors during shutdown
([#&#8203;2745](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2745))
- manager: Reintroduce AddMetricsServerExtraHandler
([#&#8203;2813](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2813))
- manager.Start: Prevent LeaderElector setup error from being swallowed
([#&#8203;2876](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2876))
- source.Kind: String() should return correct type
([#&#8203;2806](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2806))

#### 🌱 Others

- actions: Add action to approve actions if /ok-to-test is set
([#&#8203;2908](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2908))
- controller: Add dynamic watcher tests
([#&#8203;2881](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2881))
- dependabot: disable go module bumps, bump all actions in a single PR
([#&#8203;2856](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2856))
- verify-modules: Verify go modules are in sync with upstream k/k
([#&#8203;2774](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2774))

:book: Additionally, there have been 5 contributions to our
documentation.
([#&#8203;2830](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2830),
[#&#8203;2849](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2849),
[#&#8203;2863](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2863),
[#&#8203;2894](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2894),
[#&#8203;2899](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2899),
[#&#8203;2910](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2910))

#### Dependencies

##### Added

-   cel.dev/expr: v0.15.0
- github.com/antlr4-go/antlr/v4:
[v4.13.0](https://togithub.com/antlr4-go/antlr/tree/v4.13.0)
- github.com/cpuguy83/go-md2man/v2:
[v2.0.4](https://togithub.com/cpuguy83/go-md2man/tree/v2.0.4)
- github.com/go-task/slim-sprig/v3:
[v3.0.0](https://togithub.com/go-task/slim-sprig/tree/v3.0.0)
- github.com/russross/blackfriday/v2:
[v2.1.0](https://togithub.com/russross/blackfriday/tree/v2.1.0)
-   gopkg.in/evanphx/json-patch.v4: v4.12.0

##### Changed

-   cloud.google.com/go/compute/metadata: v0.2.3 → v0.3.0
- github.com/alecthomas/kingpin/v2: [v2.3.2 →
v2.4.0](https://togithub.com/alecthomas/kingpin/compare/v2.3.2...v2.4.0)
- github.com/cenkalti/backoff/v4: [v4.2.1 →
v4.3.0](https://togithub.com/cenkalti/backoff/compare/v4.2.1...v4.3.0)
- github.com/cespare/xxhash/v2: [v2.2.0 →
v2.3.0](https://togithub.com/cespare/xxhash/compare/v2.2.0...v2.3.0)
- github.com/chzyer/readline: [2972be2 →
v1.5.1](https://togithub.com/chzyer/readline/compare/2972be2...v1.5.1)
- github.com/cncf/xds/go: [e9ce688 →
555b57e](https://togithub.com/cncf/xds/compare/e9ce688...555b57e)
- github.com/davecgh/go-spew: [v1.1.1 →
d8f796a](https://togithub.com/davecgh/go-spew/compare/v1.1.1...d8f796a)
- github.com/envoyproxy/go-control-plane: [v0.11.1 →
v0.12.0](https://togithub.com/envoyproxy/go-control-plane/compare/v0.11.1...v0.12.0)
- github.com/envoyproxy/protoc-gen-validate: [v1.0.2 →
v1.0.4](https://togithub.com/envoyproxy/protoc-gen-validate/compare/v1.0.2...v1.0.4)
- github.com/evanphx/json-patch: [v4.12.0+incompatible →
v0.5.2](https://togithub.com/evanphx/json-patch/compare/v4.12.0...v0.5.2)
- github.com/felixge/httpsnoop: [v1.0.3 →
v1.0.4](https://togithub.com/felixge/httpsnoop/compare/v1.0.3...v1.0.4)
- github.com/fxamacker/cbor/v2: [v2.6.0 →
v2.7.0](https://togithub.com/fxamacker/cbor/compare/v2.6.0...v2.7.0)
- github.com/go-logr/logr: [v1.4.1 →
v1.4.2](https://togithub.com/go-logr/logr/compare/v1.4.1...v1.4.2)
- github.com/go-openapi/swag: [v0.22.3 →
v0.22.4](https://togithub.com/go-openapi/swag/compare/v0.22.3...v0.22.4)
- github.com/golang/glog: [v1.1.0 →
v1.2.1](https://togithub.com/golang/glog/compare/v1.1.0...v1.2.1)
- github.com/google/cel-go: [v0.17.8 →
v0.20.1](https://togithub.com/google/cel-go/compare/v0.17.8...v0.20.1)
- github.com/google/pprof: [4bb14d4 →
4bfdf5a](https://togithub.com/google/pprof/compare/4bb14d4...4bfdf5a)
- github.com/google/uuid: [v1.3.0 →
v1.6.0](https://togithub.com/google/uuid/compare/v1.3.0...v1.6.0)
- github.com/grpc-ecosystem/grpc-gateway/v2: [v2.16.0 →
v2.20.0](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.16.0...v2.20.0)
- github.com/ianlancetaylor/demangle: [28f6c0f →
bd984b5](https://togithub.com/ianlancetaylor/demangle/compare/28f6c0f...bd984b5)
- github.com/matttproud/golang_protobuf_extensions: [v1.0.4 →
v1.0.1](https://togithub.com/matttproud/golang_protobuf_extensions/compare/v1.0.4...v1.0.1)
- github.com/moby/spdystream: [v0.2.0 →
v0.4.0](https://togithub.com/moby/spdystream/compare/v0.2.0...v0.4.0)
- github.com/moby/term: [1aeaba8 →
v0.5.0](https://togithub.com/moby/term/compare/1aeaba8...v0.5.0)
- github.com/onsi/ginkgo/v2: [v2.17.1 →
v2.19.0](https://togithub.com/onsi/ginkgo/compare/v2.17.1...v2.19.0)
- github.com/onsi/gomega: [v1.32.0 →
v1.33.1](https://togithub.com/onsi/gomega/compare/v1.32.0...v1.33.1)
- github.com/pmezard/go-difflib: [v1.0.0 →
5d4384e](https://togithub.com/pmezard/go-difflib/compare/v1.0.0...5d4384e)
- github.com/prometheus/client_golang: [v1.16.0 →
v1.19.1](https://togithub.com/prometheus/client_golang/compare/v1.16.0...v1.19.1)
- github.com/prometheus/client_model: [v0.4.0 →
v0.6.1](https://togithub.com/prometheus/client_model/compare/v0.4.0...v0.6.1)
- github.com/prometheus/common: [v0.44.0 →
v0.55.0](https://togithub.com/prometheus/common/compare/v0.44.0...v0.55.0)
- github.com/prometheus/procfs: [v0.12.0 →
v0.15.1](https://togithub.com/prometheus/procfs/compare/v0.12.0...v0.15.1)
- github.com/rogpeppe/go-internal: [v1.10.0 →
v1.12.0](https://togithub.com/rogpeppe/go-internal/compare/v1.10.0...v1.12.0)
- github.com/sirupsen/logrus: [v1.9.0 →
v1.9.3](https://togithub.com/sirupsen/logrus/compare/v1.9.0...v1.9.3)
- github.com/spf13/cobra: [v1.7.0 →
v1.8.1](https://togithub.com/spf13/cobra/compare/v1.7.0...v1.8.1)
- github.com/stretchr/testify: [v1.8.4 →
v1.9.0](https://togithub.com/stretchr/testify/compare/v1.8.4...v1.9.0)
-   go.etcd.io/bbolt: v1.3.8 → v1.3.9
-   go.etcd.io/etcd/api/v3: v3.5.10 → v3.5.14
-   go.etcd.io/etcd/client/pkg/v3: v3.5.10 → v3.5.14
-   go.etcd.io/etcd/client/v2: v2.305.10 → v2.305.13
-   go.etcd.io/etcd/client/v3: v3.5.10 → v3.5.14
-   go.etcd.io/etcd/pkg/v3: v3.5.10 → v3.5.13
-   go.etcd.io/etcd/raft/v3: v3.5.10 → v3.5.13
-   go.etcd.io/etcd/server/v3: v3.5.10 → v3.5.13
-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc:
v0.42.0 → v0.53.0
- go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp: v0.44.0
→ v0.53.0
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc:
v1.19.0 → v1.27.0
-   go.opentelemetry.io/otel/exporters/otlp/otlptrace: v1.19.0 → v1.28.0
-   go.opentelemetry.io/otel/metric: v1.19.0 → v1.28.0
-   go.opentelemetry.io/otel/sdk: v1.19.0 → v1.28.0
-   go.opentelemetry.io/otel/trace: v1.19.0 → v1.28.0
-   go.opentelemetry.io/otel: v1.19.0 → v1.28.0
-   go.opentelemetry.io/proto/otlp: v1.0.0 → v1.3.1
-   golang.org/x/crypto: v0.21.0 → v0.24.0
- golang.org/x/exp:
[`a9213ee`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/a9213ee)
→
[`f3d0a9c`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/f3d0a9c)
-   golang.org/x/mod: v0.15.0 → v0.17.0
-   golang.org/x/net: v0.23.0 → v0.26.0
-   golang.org/x/oauth2: v0.12.0 → v0.21.0
-   golang.org/x/sync: v0.6.0 → v0.7.0
-   golang.org/x/sys: v0.18.0 → v0.21.0
- golang.org/x/telemetry:
[`b75ee88`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/b75ee88)
→
[`f48c80b`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/f48c80b)
-   golang.org/x/term: v0.18.0 → v0.21.0
-   golang.org/x/text: v0.14.0 → v0.16.0
- golang.org/x/tools: v0.18.0 →
[`e35e4cc`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/e35e4cc)
- google.golang.org/genproto/googleapis/api:
[`23370e0`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/23370e0)
→
[`5315273`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/5315273)
- google.golang.org/genproto/googleapis/rpc:
[`b8732ec`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/b8732ec)
→
[`f6361c8`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/f6361c8)
- google.golang.org/genproto:
[`f966b18`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/f966b18)
→
[`b8732ec`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/b8732ec)
-   google.golang.org/grpc: v1.58.3 → v1.65.0
-   google.golang.org/protobuf: v1.33.0 → v1.34.2
-   k8s.io/api: v0.30.0 → v0.31.0
-   k8s.io/apiextensions-apiserver: v0.30.0 → v0.31.0
-   k8s.io/apimachinery: v0.30.0 → v0.31.0
-   k8s.io/apiserver: v0.30.0 → v0.31.0
-   k8s.io/client-go: v0.30.0 → v0.31.0
-   k8s.io/code-generator: v0.30.0 → v0.31.0
-   k8s.io/component-base: v0.30.0 → v0.31.0
-   k8s.io/klog/v2: v2.120.1 → v2.130.1
-   k8s.io/kms: v0.30.0 → v0.31.0
- k8s.io/utils:
[`3b25d92`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/3b25d92)
→
[`18e509b`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/18e509b)
- sigs.k8s.io/apiserver-network-proxy/konnectivity-client: v0.29.0 →
v0.30.3
-   sigs.k8s.io/yaml: v1.3.0 → v1.4.0

##### Removed

-   cloud.google.com/go/compute: v1.21.0
- github.com/antlr/antlr4/runtime/Go/antlr/v4:
[8188dc5](https://togithub.com/antlr/antlr4/tree/runtime/Go/antlr/v4/8188dc5)
- github.com/chzyer/logex:
[v1.1.10](https://togithub.com/chzyer/logex/tree/v1.1.10)
- github.com/chzyer/test:
[a1ea475](https://togithub.com/chzyer/test/tree/a1ea475)
- github.com/cncf/udpa/go:
[c52dc94](https://togithub.com/cncf/udpa/tree/c52dc94)
- github.com/go-task/slim-sprig:
[52ccab3](https://togithub.com/go-task/slim-sprig/tree/52ccab3)

*Thanks to all our contributors!* 😊

###
[`v0.18.5`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.5)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.4...v0.18.5)

#### What's Changed

- 🐛 Suppress API server warnings in the client by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2890](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2890)
- 🐛 AddMetricsServerExtraHandler: Info takes key/value pairs by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2917](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2917)
- 🐛 Recreate watcher if the file unlinked and replaced by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2919](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2919)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.18.4...v0.18.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/validator-labs/validator-plugin-maas).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwiZ28iXX0=-->

---------

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Artur Shad Nik <[email protected]>
Co-authored-by: Artur Shad Nik <[email protected]>
renovate bot referenced this pull request in validator-labs/validator-plugin-kubescape Aug 24, 2024
)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[sigs.k8s.io/controller-runtime](https://togithub.com/kubernetes-sigs/controller-runtime)
| `v0.18.4` -> `v0.19.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/sigs.k8s.io%2fcontroller-runtime/v0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/sigs.k8s.io%2fcontroller-runtime/v0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/sigs.k8s.io%2fcontroller-runtime/v0.18.4/v0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/sigs.k8s.io%2fcontroller-runtime/v0.18.4/v0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>kubernetes-sigs/controller-runtime
(sigs.k8s.io/controller-runtime)</summary>

###
[`v0.19.0`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.19.0)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.5...v0.19.0)

#### ⚠️ Deprecation Warnings

Please note that `admission.Defaulter/Validator` have been deprecated in
favor of `admission.CustomDefaulter/CustomValidator` since v0.17 and
will be removed with v0.20.

#### ⚠️ Breaking Changes

- Bump to k8s.io/\* v1.31
([#&#8203;2798](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2798)
[#&#8203;2858](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2858)
[#&#8203;2867](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2867)
[#&#8203;2872](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2872)
[#&#8203;2883](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2883)
[#&#8203;2900](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2900)
[#&#8203;2906](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2906)
[#&#8203;2924](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2924))
- Add generic TypedReconciler
([#&#8203;2799](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2799))
- client: Remove options.WarningHandler
([#&#8203;2887](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2887)
[#&#8203;2903](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2903))
- controller: Validate controller names are unique & add
SkipNameValidation option
([#&#8203;2902](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2902)
[#&#8203;2918](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2918))

#### ✨ New Features

- client: Add WithFieldValidation client
([#&#8203;2860](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2860)
[#&#8203;2913](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2913))
- controller & webhook: Recover panics per default & add panic metrics
([#&#8203;2905](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2905))
- controllerutil: configure BlockOwnerDeletion when setting
OwnerReference
([#&#8203;2847](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2847))
- fake client: Add scale subresource logic
([#&#8203;2855](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2855))
- predicate: Add missing generic version of
ResourceVersionChangedPredicate
([#&#8203;2812](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2812))
- setup-envtest: Download binaries from controller-tools releases
instead of GCS
([#&#8203;2811](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2811))
- setup-envtest: Publish setup-envtest binaries via release attachments
([#&#8203;2911](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2911))
- workqueue: Add `controller` label to workqueue metrics
([#&#8203;2895](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2895))

#### 🐛 Bug Fixes

- apiutil.IsGVKNamespaced: Fix namespaced GVK check to use version
([#&#8203;2875](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2875))
- cache: Fix label defaulting of byObject when namespaces are configured
([#&#8203;2805](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2805))
- certwatcher: Recreate watcher if the file is unlinked and replaced
([#&#8203;2893](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2893))
- manager: Fix log in AddMetricsServerExtraHandler
([#&#8203;2874](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2874))
- manager: Quiet context.Canceled errors during shutdown
([#&#8203;2745](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2745))
- manager: Reintroduce AddMetricsServerExtraHandler
([#&#8203;2813](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2813))
- manager.Start: Prevent LeaderElector setup error from being swallowed
([#&#8203;2876](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2876))
- source.Kind: String() should return correct type
([#&#8203;2806](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2806))

#### 🌱 Others

- actions: Add action to approve actions if /ok-to-test is set
([#&#8203;2908](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2908))
- controller: Add dynamic watcher tests
([#&#8203;2881](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2881))
- dependabot: disable go module bumps, bump all actions in a single PR
([#&#8203;2856](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2856))
- verify-modules: Verify go modules are in sync with upstream k/k
([#&#8203;2774](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2774))

:book: Additionally, there have been 5 contributions to our
documentation.
([#&#8203;2830](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2830),
[#&#8203;2849](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2849),
[#&#8203;2863](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2863),
[#&#8203;2894](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2894),
[#&#8203;2899](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2899),
[#&#8203;2910](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2910))

#### Dependencies

##### Added

-   cel.dev/expr: v0.15.0
- github.com/antlr4-go/antlr/v4:
[v4.13.0](https://togithub.com/antlr4-go/antlr/tree/v4.13.0)
- github.com/cpuguy83/go-md2man/v2:
[v2.0.4](https://togithub.com/cpuguy83/go-md2man/tree/v2.0.4)
- github.com/go-task/slim-sprig/v3:
[v3.0.0](https://togithub.com/go-task/slim-sprig/tree/v3.0.0)
- github.com/russross/blackfriday/v2:
[v2.1.0](https://togithub.com/russross/blackfriday/tree/v2.1.0)
-   gopkg.in/evanphx/json-patch.v4: v4.12.0

##### Changed

-   cloud.google.com/go/compute/metadata: v0.2.3 → v0.3.0
- github.com/alecthomas/kingpin/v2: [v2.3.2 →
v2.4.0](https://togithub.com/alecthomas/kingpin/compare/v2.3.2...v2.4.0)
- github.com/cenkalti/backoff/v4: [v4.2.1 →
v4.3.0](https://togithub.com/cenkalti/backoff/compare/v4.2.1...v4.3.0)
- github.com/cespare/xxhash/v2: [v2.2.0 →
v2.3.0](https://togithub.com/cespare/xxhash/compare/v2.2.0...v2.3.0)
- github.com/chzyer/readline: [2972be2 →
v1.5.1](https://togithub.com/chzyer/readline/compare/2972be2...v1.5.1)
- github.com/cncf/xds/go: [e9ce688 →
555b57e](https://togithub.com/cncf/xds/compare/e9ce688...555b57e)
- github.com/davecgh/go-spew: [v1.1.1 →
d8f796a](https://togithub.com/davecgh/go-spew/compare/v1.1.1...d8f796a)
- github.com/envoyproxy/go-control-plane: [v0.11.1 →
v0.12.0](https://togithub.com/envoyproxy/go-control-plane/compare/v0.11.1...v0.12.0)
- github.com/envoyproxy/protoc-gen-validate: [v1.0.2 →
v1.0.4](https://togithub.com/envoyproxy/protoc-gen-validate/compare/v1.0.2...v1.0.4)
- github.com/evanphx/json-patch: [v4.12.0+incompatible →
v0.5.2](https://togithub.com/evanphx/json-patch/compare/v4.12.0...v0.5.2)
- github.com/felixge/httpsnoop: [v1.0.3 →
v1.0.4](https://togithub.com/felixge/httpsnoop/compare/v1.0.3...v1.0.4)
- github.com/fxamacker/cbor/v2: [v2.6.0 →
v2.7.0](https://togithub.com/fxamacker/cbor/compare/v2.6.0...v2.7.0)
- github.com/go-logr/logr: [v1.4.1 →
v1.4.2](https://togithub.com/go-logr/logr/compare/v1.4.1...v1.4.2)
- github.com/go-openapi/swag: [v0.22.3 →
v0.22.4](https://togithub.com/go-openapi/swag/compare/v0.22.3...v0.22.4)
- github.com/golang/glog: [v1.1.0 →
v1.2.1](https://togithub.com/golang/glog/compare/v1.1.0...v1.2.1)
- github.com/google/cel-go: [v0.17.8 →
v0.20.1](https://togithub.com/google/cel-go/compare/v0.17.8...v0.20.1)
- github.com/google/pprof: [4bb14d4 →
4bfdf5a](https://togithub.com/google/pprof/compare/4bb14d4...4bfdf5a)
- github.com/google/uuid: [v1.3.0 →
v1.6.0](https://togithub.com/google/uuid/compare/v1.3.0...v1.6.0)
- github.com/grpc-ecosystem/grpc-gateway/v2: [v2.16.0 →
v2.20.0](https://togithub.com/grpc-ecosystem/grpc-gateway/compare/v2.16.0...v2.20.0)
- github.com/ianlancetaylor/demangle: [28f6c0f →
bd984b5](https://togithub.com/ianlancetaylor/demangle/compare/28f6c0f...bd984b5)
- github.com/matttproud/golang_protobuf_extensions: [v1.0.4 →
v1.0.1](https://togithub.com/matttproud/golang_protobuf_extensions/compare/v1.0.4...v1.0.1)
- github.com/moby/spdystream: [v0.2.0 →
v0.4.0](https://togithub.com/moby/spdystream/compare/v0.2.0...v0.4.0)
- github.com/moby/term: [1aeaba8 →
v0.5.0](https://togithub.com/moby/term/compare/1aeaba8...v0.5.0)
- github.com/onsi/ginkgo/v2: [v2.17.1 →
v2.19.0](https://togithub.com/onsi/ginkgo/compare/v2.17.1...v2.19.0)
- github.com/onsi/gomega: [v1.32.0 →
v1.33.1](https://togithub.com/onsi/gomega/compare/v1.32.0...v1.33.1)
- github.com/pmezard/go-difflib: [v1.0.0 →
5d4384e](https://togithub.com/pmezard/go-difflib/compare/v1.0.0...5d4384e)
- github.com/prometheus/client_golang: [v1.16.0 →
v1.19.1](https://togithub.com/prometheus/client_golang/compare/v1.16.0...v1.19.1)
- github.com/prometheus/client_model: [v0.4.0 →
v0.6.1](https://togithub.com/prometheus/client_model/compare/v0.4.0...v0.6.1)
- github.com/prometheus/common: [v0.44.0 →
v0.55.0](https://togithub.com/prometheus/common/compare/v0.44.0...v0.55.0)
- github.com/prometheus/procfs: [v0.12.0 →
v0.15.1](https://togithub.com/prometheus/procfs/compare/v0.12.0...v0.15.1)
- github.com/rogpeppe/go-internal: [v1.10.0 →
v1.12.0](https://togithub.com/rogpeppe/go-internal/compare/v1.10.0...v1.12.0)
- github.com/sirupsen/logrus: [v1.9.0 →
v1.9.3](https://togithub.com/sirupsen/logrus/compare/v1.9.0...v1.9.3)
- github.com/spf13/cobra: [v1.7.0 →
v1.8.1](https://togithub.com/spf13/cobra/compare/v1.7.0...v1.8.1)
- github.com/stretchr/testify: [v1.8.4 →
v1.9.0](https://togithub.com/stretchr/testify/compare/v1.8.4...v1.9.0)
-   go.etcd.io/bbolt: v1.3.8 → v1.3.9
-   go.etcd.io/etcd/api/v3: v3.5.10 → v3.5.14
-   go.etcd.io/etcd/client/pkg/v3: v3.5.10 → v3.5.14
-   go.etcd.io/etcd/client/v2: v2.305.10 → v2.305.13
-   go.etcd.io/etcd/client/v3: v3.5.10 → v3.5.14
-   go.etcd.io/etcd/pkg/v3: v3.5.10 → v3.5.13
-   go.etcd.io/etcd/raft/v3: v3.5.10 → v3.5.13
-   go.etcd.io/etcd/server/v3: v3.5.10 → v3.5.13
-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc:
v0.42.0 → v0.53.0
- go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp: v0.44.0
→ v0.53.0
- go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc:
v1.19.0 → v1.27.0
-   go.opentelemetry.io/otel/exporters/otlp/otlptrace: v1.19.0 → v1.28.0
-   go.opentelemetry.io/otel/metric: v1.19.0 → v1.28.0
-   go.opentelemetry.io/otel/sdk: v1.19.0 → v1.28.0
-   go.opentelemetry.io/otel/trace: v1.19.0 → v1.28.0
-   go.opentelemetry.io/otel: v1.19.0 → v1.28.0
-   go.opentelemetry.io/proto/otlp: v1.0.0 → v1.3.1
-   golang.org/x/crypto: v0.21.0 → v0.24.0
- golang.org/x/exp:
[`a9213ee`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/a9213ee)
→
[`f3d0a9c`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/f3d0a9c)
-   golang.org/x/mod: v0.15.0 → v0.17.0
-   golang.org/x/net: v0.23.0 → v0.26.0
-   golang.org/x/oauth2: v0.12.0 → v0.21.0
-   golang.org/x/sync: v0.6.0 → v0.7.0
-   golang.org/x/sys: v0.18.0 → v0.21.0
- golang.org/x/telemetry:
[`b75ee88`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/b75ee88)
→
[`f48c80b`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/f48c80b)
-   golang.org/x/term: v0.18.0 → v0.21.0
-   golang.org/x/text: v0.14.0 → v0.16.0
- golang.org/x/tools: v0.18.0 →
[`e35e4cc`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/e35e4cc)
- google.golang.org/genproto/googleapis/api:
[`23370e0`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/23370e0)
→
[`5315273`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/5315273)
- google.golang.org/genproto/googleapis/rpc:
[`b8732ec`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/b8732ec)
→
[`f6361c8`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/f6361c8)
- google.golang.org/genproto:
[`f966b18`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/f966b18)
→
[`b8732ec`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/b8732ec)
-   google.golang.org/grpc: v1.58.3 → v1.65.0
-   google.golang.org/protobuf: v1.33.0 → v1.34.2
-   k8s.io/api: v0.30.0 → v0.31.0
-   k8s.io/apiextensions-apiserver: v0.30.0 → v0.31.0
-   k8s.io/apimachinery: v0.30.0 → v0.31.0
-   k8s.io/apiserver: v0.30.0 → v0.31.0
-   k8s.io/client-go: v0.30.0 → v0.31.0
-   k8s.io/code-generator: v0.30.0 → v0.31.0
-   k8s.io/component-base: v0.30.0 → v0.31.0
-   k8s.io/klog/v2: v2.120.1 → v2.130.1
-   k8s.io/kms: v0.30.0 → v0.31.0
- k8s.io/utils:
[`3b25d92`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/3b25d92)
→
[`18e509b`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/18e509b)
- sigs.k8s.io/apiserver-network-proxy/konnectivity-client: v0.29.0 →
v0.30.3
-   sigs.k8s.io/yaml: v1.3.0 → v1.4.0

##### Removed

-   cloud.google.com/go/compute: v1.21.0
- github.com/antlr/antlr4/runtime/Go/antlr/v4:
[8188dc5](https://togithub.com/antlr/antlr4/tree/runtime/Go/antlr/v4/8188dc5)
- github.com/chzyer/logex:
[v1.1.10](https://togithub.com/chzyer/logex/tree/v1.1.10)
- github.com/chzyer/test:
[a1ea475](https://togithub.com/chzyer/test/tree/a1ea475)
- github.com/cncf/udpa/go:
[c52dc94](https://togithub.com/cncf/udpa/tree/c52dc94)
- github.com/go-task/slim-sprig:
[52ccab3](https://togithub.com/go-task/slim-sprig/tree/52ccab3)

*Thanks to all our contributors!* 😊

###
[`v0.18.5`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.5)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.4...v0.18.5)

#### What's Changed

- 🐛 Suppress API server warnings in the client by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2890](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2890)
- 🐛 AddMetricsServerExtraHandler: Info takes key/value pairs by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2917](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2917)
- 🐛 Recreate watcher if the file unlinked and replaced by
[@&#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2919](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2919)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.18.4...v0.18.5

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/validator-labs/validator-plugin-kubescape).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yMC4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwiZ28iXX0=-->

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
f7o referenced this pull request in f7o/opentelemetry-collector-contrib Sep 12, 2024
…ry#34668)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[sigs.k8s.io/controller-runtime](https://togithub.com/kubernetes-sigs/controller-runtime)
| `v0.17.3` -> `v0.18.5` |
[![age](https://developer.mend.io/api/mc/badges/age/go/sigs.k8s.io%2fcontroller-runtime/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/sigs.k8s.io%2fcontroller-runtime/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/sigs.k8s.io%2fcontroller-runtime/v0.17.3/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/sigs.k8s.io%2fcontroller-runtime/v0.17.3/v0.18.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>kubernetes-sigs/controller-runtime
(sigs.k8s.io/controller-runtime)</summary>

###
[`v0.18.5`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.5)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.4...v0.18.5)

#### What's Changed

- 🐛 Suppress API server warnings in the client by
[@&open-telemetry#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2890](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2890)
- 🐛 AddMetricsServerExtraHandler: Info takes key/value pairs by
[@&open-telemetry#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2917](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2917)
- 🐛 Recreate watcher if the file unlinked and replaced by
[@&open-telemetry#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2919](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2919)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.18.4...v0.18.5

###
[`v0.18.4`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.4)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.3...v0.18.4)

#### What's Changed

- \[release-0.18] ✨ controllerutil: configure BlockOwnerDeletion when
setting OwnerReference by
[@&open-telemetry#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2848](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2848)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.18.3...v0.18.4

###
[`v0.18.3`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.3)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.2...v0.18.3)

#### What's Changed

- ✨ setup-envtest: download binaries from controller-tools releases by
[@&open-telemetry#8203;sbueringer](https://togithub.com/sbueringer) in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2837](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2837)
- 🌱 Bump k8s.io/\* to v0.30.1 by
[@&open-telemetry#8203;sbueringer](https://togithub.com/sbueringer) in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2840](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2840)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.18.2...v0.18.3

###
[`v0.18.2`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.2)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.1...v0.18.2)

##### What's Changed

- 🐛 Reintroduce AddMetricsServerExtraHandler on manager by
[@&open-telemetry#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2817](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2817)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.18.1...v0.18.2

###
[`v0.18.1`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.1)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.18.0...v0.18.1)

##### What's Changed

- \[release-0.18] 🐛 Cache: Fix label defaulting of byObject when
namespaces are configured by
[@&open-telemetry#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2808](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2808)
- \[release-0.18] 🐛 correct kind source type by
[@&open-telemetry#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2809](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2809)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.18.0...v0.18.1

###
[`v0.18.0`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.18.0)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.17.6...v0.18.0)

#### ⚠️ Breaking Changes

- Bump to k8s.io/\* v1.30
([#&open-telemetry#8203;2693](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2693)
[#&open-telemetry#8203;2754](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2754)
[#&open-telemetry#8203;2765](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2765)
[#&open-telemetry#8203;2776](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2776)
[#&open-telemetry#8203;2786](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2786))
- Remove deprecated v1alpha1.ControllerManagerConfiguration
([#&open-telemetry#8203;2648](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2648))
- admission.Decoder is now an interface
([#&open-telemetry#8203;2736](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2736))
- Source, Event, Predicate, Handler: Add generics support
([#&open-telemetry#8203;2783](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2783)
[#&open-telemetry#8203;2796](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2796))
- client: Fix SubResourceCreateOptions signature in subresource client
([#&open-telemetry#8203;2766](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2766))

#### ✨ New Features

- cache: Add TransformStripManagedFields transform func
([#&open-telemetry#8203;2791](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2791))
- client: Add client.WithFieldOwner to configure client-wide
FieldManager
([#&open-telemetry#8203;2771](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2771)
[#&open-telemetry#8203;2777](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2777))
- controller: Add `NewQueue` option
([#&open-telemetry#8203;2767](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2767))
- manager: Export HTTP server runnable implementation
([#&open-telemetry#8203;2473](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2473))
- metrics/server: Add `ListenConfig` option
([#&open-telemetry#8203;2519](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2519))

#### 🐛 Bug Fixes

- builder/webhook: Return error if For() is used multiple times
([#&open-telemetry#8203;2740](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2740))
- cache: Keep selectors when byObject.Namespaces is defaulted
([#&open-telemetry#8203;2747](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2747))
- cache: Prevent race when informers are started more than once
([#&open-telemetry#8203;2758](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2758))
- fake client: Allow fakeclient to patch CR with no resourceVersion
([#&open-telemetry#8203;2725](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2725))
- fake client: Do not consider an apply patch to be a strategic merge
patch
([#&open-telemetry#8203;2679](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2679))
- manager: Prevent leader election when shutting down a non-elected
manager
([#&open-telemetry#8203;2724](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2724))
- manager: Runnable group should check if stopped before enqueueing
([#&open-telemetry#8203;2757](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2757))
- restmapper: Clean restmapper cache if a version is notFound
([#&open-telemetry#8203;2663](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2663))
- restmapper: Fix cache invalidation
([#&open-telemetry#8203;2687](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2687))

#### 🌱 Others

- ci: Add OSSF scorecard action
([#&open-telemetry#8203;2714](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2714))
- ci: Improve github actions dependencies versions and permissions
([#&open-telemetry#8203;2715](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2715))
- ci: Pin checkout action in golangci-lint action, bump checkout action,
use consistent tag format
([#&open-telemetry#8203;2729](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2729))
- ci: Update golangci-lint to v1.57.2
([#&open-telemetry#8203;2708](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2708)
[#&open-telemetry#8203;2751](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2751))
- ci: Update scorecard github action
([#&open-telemetry#8203;2728](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2728))
- ci: Use go-install for versioned dependencies
([#&open-telemetry#8203;2710](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2710))
- envtest: WaitForDefaultNamespace while starting up envtest
([#&open-telemetry#8203;2668](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2668))
- owners: Cleanup owners files
([#&open-telemetry#8203;2730](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2730))
- owners: Remove outdated testing framework approvers
([#&open-telemetry#8203;2709](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2709))
- predicate: Compare labels and annotations using maps.Equal
([#&open-telemetry#8203;2705](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2705))
- typos: Fix typo of CacheReader comment
([#&open-telemetry#8203;2773](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2773))
- typos: Fix typo in channel option
([#&open-telemetry#8203;2792](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2792))
- typos: Minor typo fixes in docstrings
([#&open-telemetry#8203;2727](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2727))

:book: Additionally, there have been 3 contributions to our
documentation and book.
([#&open-telemetry#8203;2712](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2712),
[#&open-telemetry#8203;2770](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2770),
[#&open-telemetry#8203;2789](https://togithub.com/kubernetes-sigs/controller-runtime/issues/2789))

#### Dependencies

##### Added

- github.com/fxamacker/cbor/v2:
[v2.6.0](https://togithub.com/fxamacker/cbor/tree/v2.6.0)
- github.com/x448/float16:
[v0.8.4](https://togithub.com/x448/float16/tree/v0.8.4)
- golang.org/x/telemetry:
[`b75ee88`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/b75ee88)
- k8s.io/gengo/v2:
[`51d4e06`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/51d4e06)

##### Changed

- github.com/evanphx/json-patch/v5: [v5.8.0 →
v5.9.0](https://togithub.com/evanphx/json-patch/compare/v5.8.0...v5.9.0)
- github.com/golang/protobuf: [v1.5.3 →
v1.5.4](https://togithub.com/golang/protobuf/compare/v1.5.3...v1.5.4)
- github.com/google/cel-go: [v0.17.7 →
v0.17.8](https://togithub.com/google/cel-go/compare/v0.17.7...v0.17.8)
- github.com/onsi/ginkgo/v2: [v2.14.0 →
v2.17.1](https://togithub.com/onsi/ginkgo/compare/v2.14.0...v2.17.1)
- github.com/onsi/gomega: [v1.30.0 →
v1.32.0](https://togithub.com/onsi/gomega/compare/v1.30.0...v1.32.0)
- github.com/prometheus/client_golang: [v1.18.0 →
v1.16.0](https://togithub.com/prometheus/client_golang/compare/v1.18.0...v1.16.0)
- github.com/prometheus/client_model: [v0.5.0 →
v0.4.0](https://togithub.com/prometheus/client_model/compare/v0.5.0...v0.4.0)
- github.com/prometheus/common: [v0.45.0 →
v0.44.0](https://togithub.com/prometheus/common/compare/v0.45.0...v0.44.0)
-   golang.org/x/crypto: v0.16.0 → v0.21.0
-   golang.org/x/mod: v0.14.0 → v0.15.0
-   golang.org/x/net: v0.19.0 → v0.23.0
-   golang.org/x/sync: v0.5.0 → v0.6.0
-   golang.org/x/sys: v0.16.0 → v0.18.0
-   golang.org/x/term: v0.15.0 → v0.18.0
-   golang.org/x/tools: v0.16.1 → v0.18.0
-   google.golang.org/protobuf: v1.31.0 → v1.33.0
-   k8s.io/api: v0.29.0 → v0.30.0
-   k8s.io/apiextensions-apiserver: v0.29.0 → v0.30.0
-   k8s.io/apimachinery: v0.29.0 → v0.30.0
-   k8s.io/apiserver: v0.29.0 → v0.30.0
-   k8s.io/client-go: v0.29.0 → v0.30.0
-   k8s.io/code-generator: v0.29.0 → v0.30.0
-   k8s.io/component-base: v0.29.0 → v0.30.0
-   k8s.io/klog/v2: v2.110.1 → v2.120.1
-   k8s.io/kms: v0.29.0 → v0.30.0
- k8s.io/kube-openapi:
[`2dd684a`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/2dd684a)
→
[`70dd376`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/70dd376)
- sigs.k8s.io/apiserver-network-proxy/konnectivity-client: v0.28.0 →
v0.29.0
-   sigs.k8s.io/yaml: v1.4.0 → v1.3.0

##### Removed

- github.com/matttproud/golang_protobuf_extensions/v2:
[v2.0.0](https://togithub.com/matttproud/golang_protobuf_extensions/tree/v2.0.0)
-   go.uber.org/atomic: v1.10.0
- k8s.io/gengo:
[`9cce18d`](https://togithub.com/kubernetes-sigs/controller-runtime/commit/9cce18d)

*Thanks to all our contributors!* 😊

###
[`v0.17.6`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.6)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.17.5...v0.17.6)

#### What's Changed

- ✨ setup-envtest: download binaries from controller-tools releases by
[@&open-telemetry#8203;damdo](https://togithub.com/damdo) in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2843](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2843)
- 🐛 Recreate watcher if the file unlinked and replaced by
[@&open-telemetry#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2920](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2920)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.17.5...v0.17.6

###
[`v0.17.5`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.5)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.17.4...v0.17.5)

#### What's Changed

- 🐛 Reintroduce AddMetricsServerExtraHandler on manager by
[@&open-telemetry#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2815](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2815)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.17.4...v0.17.5

###
[`v0.17.4`](https://togithub.com/kubernetes-sigs/controller-runtime/releases/tag/v0.17.4)

[Compare
Source](https://togithub.com/kubernetes-sigs/controller-runtime/compare/v0.17.3...v0.17.4)

#### What's Changed

- \[release-0.17] ✨ client: Add client-wide fieldManager by
[@&open-telemetry#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2772](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2772)
- \[release-0.17] 🐛 Cache: Fix label defaulting of byObject when
namespaces are configured by
[@&open-telemetry#8203;k8s-infra-cherrypick-robot](https://togithub.com/k8s-infra-cherrypick-robot)
in
[https://github.com/kubernetes-sigs/controller-runtime/pull/2807](https://togithub.com/kubernetes-sigs/controller-runtime/pull/2807)

**Full Changelog**:
kubernetes-sigs/controller-runtime@v0.17.3...v0.17.4

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4yNi4xIiwidXBkYXRlZEluVmVyIjoiMzguMjYuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <[email protected]>
Co-authored-by: Yang Song <[email protected]>
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants