Skip to content

Releases: cloudydeno/deno-kubernetes_apis

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

10 Feb 17:10
Compare
Choose a tag to compare

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

v0.3.2: Kubernetes v1.22, Add Argo CD

02 Dec 20:05
6a34d69
Compare
Choose a tag to compare
  • Regenerated APIs using newer versions:
    • Kubernetes v1.22.4 (from v1.21.0)
      • Numerous alpha/beta APIs were removed in Kubernetes 1.22
    • cert-manager v1.6.1 (from v1.3.1)
    • external-dns v0.10.1 (though the CRD didn't change from v0.8.0)
  • Testing with newer Deno (up to v1.16) in CI
  • Because apiextensions.k8s.io@v1beta1 has been removed by upstream, the codegen-from-CRD tooling in this repo no longer accepts v1beta1 CRDs. Use v1!
  • Updated examples to use the stable API versions for Ingress & CRD
  • Upgraded https://deno.land/x/kubernetes_client API contract to v0.3.2

Kubernetes Changes

  • apps@v1:
    • Added minReadySeconds to StatefulSet.spec
    • Added availableReplicas to StatefulSet.status
  • batch@v1:
    • Added uncountedTerminatedPods structure on Job.status
  • certificates.k8s.io@v1:
    • Added expirationSeconds to CertificateSigningRequest.spec
  • core@v1:
    • Updated Ephemeralcontainers API
    • Various new fields
    • Made names optional on ContainerImage structure (used in node status)
    • Removed topologyKeys from Service.spec
  • networking.k8s.io@v1:
    • Make pathType required on HTTPIngressPath structure
  • policy@v1:
    • Add Eviction structure from policy@v1beta1
  • policy@v1betav1:
    • Remove Eviction structure
  • storage.k8s.io@v1beta1:
    • Remove CSIDriver, CSINode, StorageClass, VolumeAttachment APIs/structs
  • Removed unstable API versions in favor of newer stable versions:
    • admissionregistration.k8s.io@v1beta1
    • apiextensions.k8s.io@v1beta1
    • apiregistration.k8s.io@v1beta1
    • authentication.k8s.io@v1beta1
    • authorization.k8s.io@v1beta1
    • certificates.k8s.io@v1beta1
    • coordination.k8s.io@v1beta1
    • extensions@v1beta1
    • networking.k8s.io@v1beta1
    • rbac.authorization.k8s.io@v1beta1
    • scheduling.k8s.io@v1beta1

cert-manager changes

  • Add "Ed25519" to Certificate.spec.privateKey.algorithm enum
  • Add secretTemplate structure to Certificate.spec
  • Add managedIdentity structure to Solver.spec.dns01.azureDNS
  • Add gatewayHTTPRoute structure to Solver.spec.http01

v0.3.1: Kubernetes 1.21

09 May 17:50
Compare
Choose a tag to compare
  • Updating /x/kubernetes_client API contract to v0.2.4.
  • Includes 'builtin' APIs generated from K8s v1.21.0.
    • get functions no longer accept export or exact.
  • cert-manager and external-dns CRDs have been updated from the latest releases.

Kubernetes 1.21 API Changes

  • New API: discovery.k8s.io@v1
  • New API: policy@v1
  • Deleted: batch@v2alpha1
  • Deleted: flowcontrol.apiserver.k8s.io@v1alpha1
  • Stabilized: CronJob in batch@v1
  • Added: PodEphemeralcontainers in core@v1
  • New field: NamespaceSelector on PodAffinity
  • New field: terminationGracePeriodSeconds on Probe
  • New fields: internalTrafficPolicy and loadBalancerClass on Service
  • New fields: hints on Endpoint
  • Changed: Event metadata is now optional
  • Changed: IngressClass parameters can now include a namespace
  • New field: NetworkPolicyPort can have an endPort
  • New field: PodDisruptionBudgetStatus now has Conditions
  • Deprecated: PodSecurityPolicy
  • Added: CSIStorageCapacity in storage.k8s.io