Skip to content

Releases: cloudydeno/deno-kubernetes_apis

v0.5.3: Codegen fixes

16 Oct 19:57
9760fdc
Compare
Choose a tag to compare
  • Fix CRD codegen issues with particular definitions and when using JSR import paths.

v0.5.2: Kubernetes 1.30

28 Sep 20:57
39bc867
Compare
Choose a tag to compare

Primary change is a regeneration of the API clients with the latest API definitions.

  • Kubernetes APIs
    • Add resources to admissionregistration.k8s.io@v1: ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding
    • Added several fields in apiextensions.k8s.io@v1
    • Add success policy fields in batch@v1
    • Numerous structure additions to core@v1: AppArmorProfile, ClusterTrustBundleProjection, SleepAction, VolumeMountStatus, etc
    • Remove flowcontrol.apiserver.k8s.io@v1beta2, add flowcontrol.apiserver.k8s.io@v1
    • Rework networking.k8s.io@v1alpha1 resources: remove ClusterCIDR, add ServiceCIDR with status subresource
    • Add resources to resource.k8s.io@v1alpha2: ResourceClaimParameters, ResourceClassParameters, ResourceSlice
    • New API storage.k8s.io@v1alpha1 with VolumeAttributesClass resource
    • New API storagemigration.k8s.io@v1alpha1 with StorageVersionMigration resource
  • argocd APIs
    • Add components, labelWithoutSelector, and patches to ApplicationSource
    • Add initiatedBy to Application status history
    • Add resources to ApplicationSet status
  • cert-manager APIs
    • Add nameConstraints field to Certificate resource
    • Update nullability of multiple fields
    • Add client TLS secret reference fields to Issuer resource
    • Add route53 auth field to Solver resource
  • vpa APIs
    • Add a status subresource to VerticalPodAutoscaler resource
    • Add evictionRequirements field to the updatePolicy structure

v0.5.1: Add JSR publication

20 Sep 08:25
3c127fc
Compare
Choose a tag to compare
  • Updating /x/kubernetes_client API contract to v0.7.3.
  • Add JSR publication of the module.
  • Exposed API surface has been adjusted to satisfy JSR "slow types" checks. Shouldn't affect most code.

v0.5.0: Kubernetes v1.28, Add tunnel implementation

19 Sep 18:28
ab32ebf
Compare
Choose a tag to compare
  • Originally tagged on 2023-08-19
  • Updating /x/kubernetes_client API contract to v0.7.0.
  • Actually implement PodExec, PodAttach, PodPortForward APIs with a new tunnel implementation.
  • Includes 'builtin' APIs generated from K8s v1.28.0.
    • New APIs: admissionregistration.k8s.io/v1beta1, certificates.k8s.io/v1alpha1.
    • Also, API additions for sidecar containers and SelfSubjectReview.
  • Fix several structures incorrectly typed as {} instead of JSONValue.

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