Skip to content

v0.4.0: Kubernetes v1.26, widened result of delete APIs

Compare
Choose a tag to compare
@danopia danopia released this 10 Feb 17:10
· 22 commits to main since this release

Hi! It's been a year or two since my last release. I hope you're doing well and thank you for continuing to use my library :)

  • Updating /x/kubernetes_client API contract to v0.5.0.
  • Breaking change: The return type of delete functions has been widened to a union.
    • If you were using a deletion response, you can use type narrowing to detect which Kind was returned.
    • See #4 for more information.
  • Includes 'builtin' APIs generated from K8s v1.26.1.
    • Numerous alpha and beta APIs removed, including autoscaling, batch, and policy
  • cert-manager CRDs have been updated. Removes v1beta1, v1alpha3, and v1alpha2 APIs.
  • argo-cd CRDs have been updated. Adds a new ApplicationSet CRD.
    • Some nested structures were deduplicated to reduce code size.
  • Added CRDs for Vertical Pod Autoscaler.
  • Add streamPodLogs to allow fetching pod logs as a ReadableStream<string>.

Kubernetes 1.22 -> 1.26

  • Added admissionregistration.k8s.io@v1alpha1 (KEP 3488: CEL for Admission Control)
  • New fields in apiextensions.k8s.io@v1: x-kubernetes-validations
  • New fields in apps@v1, mostly around StatefulSet e.g. persistentVolumeClaimRetentionPolicy
  • Added authentication.k8s.io@v1alpha1 containing createSelfSubjectReview()
  • Added autoscaling@v2, nearly identical to previous v2beta1
  • Updated batch@v1 with CronJob timeZone & Job podFailurePolicy
  • Updated core@v1 for GRPC probes & resource claims & pod scheduling gates
  • Added flowcontrol.apiserver.k8s.io@v1beta2 and flowcontrol.apiserver.k8s.io@v1beta3
  • Updated networking.k8s.io@v1 to add a /status subresource to NetworkPolicy
  • Added networking.k8s.io@v1alpha1
  • Added resource.k8s.io@v1alpha1
  • Updated storage.k8s.io@v1 with new resource CSIStorageCapacity from storage.k8s.io@v1alpha1
  • Removal of:
    • autoscaling@v2beta1
    • autoscaling@v2beta2
    • batch@v1beta1
    • discovery.k8s.io@v1beta1
    • events.k8s.io@v1beta1
    • flowcontrol.apiserver.k8s.io@v1beta
    • node.k8s.io@v1alpha1
    • node.k8s.io@v1beta1
    • policy@v1beta1
    • rbac.authorization.k8s.io@v1alpha1
    • scheduling.k8s.io@v1alpha1
    • storage.k8s.io@v1alpha1