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

Upgrade Kubernetes schema and client libraries to v1.30 #2932

Merged
merged 7 commits into from
Apr 18, 2024

Conversation

rquitales
Copy link
Contributor

@rquitales rquitales commented Apr 4, 2024

Proposed changes

Update Kubernetes schema and client libraries to v1.30. Go is also updated to v1.22 as an upstream library requires this.

Related issues (optional)

Closes: #2914

@rquitales rquitales self-assigned this Apr 4, 2024
Copy link

github-actions bot commented Apr 4, 2024

Does the PR have any schema changes?

Found 3 breaking changes:

Types

  • 🟢 "kubernetes:networking.k8s.io/v1alpha1:IPAddressSpec": required: "parentRef" property has changed to Required
  • "kubernetes:networking.k8s.io/v1alpha1:ParentReference": required:
    • 🟢 "name" property has changed to Required
    • 🟢 "resource" property has changed to Required

New resources:

  • admissionregistration.k8s.io/v1.ValidatingAdmissionPolicy
  • admissionregistration.k8s.io/v1.ValidatingAdmissionPolicyBinding
  • admissionregistration.k8s.io/v1.ValidatingAdmissionPolicyBindingList
  • admissionregistration.k8s.io/v1.ValidatingAdmissionPolicyBindingPatch
  • admissionregistration.k8s.io/v1.ValidatingAdmissionPolicyList
  • admissionregistration.k8s.io/v1.ValidatingAdmissionPolicyPatch
  • resource.k8s.io/v1alpha2.ResourceClaimParameters
  • resource.k8s.io/v1alpha2.ResourceClaimParametersList
  • resource.k8s.io/v1alpha2.ResourceClaimParametersPatch
  • resource.k8s.io/v1alpha2.ResourceClassParameters
  • resource.k8s.io/v1alpha2.ResourceClassParametersList
  • resource.k8s.io/v1alpha2.ResourceClassParametersPatch
  • resource.k8s.io/v1alpha2.ResourceSlice
  • resource.k8s.io/v1alpha2.ResourceSliceList
  • resource.k8s.io/v1alpha2.ResourceSlicePatch
  • storagemigration.k8s.io/v1alpha1.StorageVersionMigration
  • storagemigration.k8s.io/v1alpha1.StorageVersionMigrationList
  • storagemigration.k8s.io/v1alpha1.StorageVersionMigrationPatch

Copy link

codecov bot commented Apr 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 28.70%. Comparing base (6eb4495) to head (ac0f23c).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2932      +/-   ##
==========================================
- Coverage   29.18%   28.70%   -0.48%     
==========================================
  Files          61       62       +1     
  Lines        8196     8333     +137     
==========================================
  Hits         2392     2392              
- Misses       5600     5737     +137     
  Partials      204      204              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

go 1.21
go 1.22.0

toolchain go1.22.2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Big 👍

Within the `tests/` and `provider/` folders, the following command was
run:

```sh
cat go.mod | grep "^\sk8s.io" | grep -v "// indirect" | awk '{print $1}' | xargs -I {} go get -u {}@v0.30.0
```
@rquitales rquitales merged commit fb8be43 into master Apr 18, 2024
18 checks passed
@rquitales rquitales deleted the rquitales/support-k8s-1-30 branch April 18, 2024 05:58
lumiere-bot bot added a commit to coolguy1771/home-ops that referenced this pull request Apr 19, 2024
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@pulumi/kubernetes](https://pulumi.com)
([source](https://togithub.com/pulumi/pulumi-kubernetes)) | dependencies
| minor | [`4.10.0` ->
`4.11.0`](https://renovatebot.com/diffs/npm/@pulumi%2fkubernetes/4.10.0/4.11.0)
|

---

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

---

### Release Notes

<details>
<summary>pulumi/pulumi-kubernetes (@&#8203;pulumi/kubernetes)</summary>

###
[`v4.11.0`](https://togithub.com/pulumi/pulumi-kubernetes/blob/HEAD/CHANGELOG.md#4110-April-17-2024)

[Compare
Source](https://togithub.com/pulumi/pulumi-kubernetes/compare/v4.10.0...v4.11.0)

- \[dotnet] Unknowns for previews involving an uninitialized provider
[pulumi/pulumi-kubernetes#2957)
- Update Kubernetes schemas and libraries to v1.30.0
([pulumi/pulumi-kubernetes#2932)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
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 has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjMwMy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL21pbm9yIl19-->

Co-authored-by: lumiere-bot[bot] <98047013+lumiere-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support k8s 1.30 on release
2 participants