prometheus/vendor/k8s.io/client-go/CHANGELOG.md
jojohappy 21e50a3f9d Upgrade k8s client to kubernetes-1.11.0
Signed-off-by: jojohappy <sarahdj0917@gmail.com>
2018-08-02 10:25:27 +08:00

20 KiB

TODO: This document was manually maintained so might be incomplete. The automation effort is tracked in https://github.com/kubernetes/client-go/issues/234.

Changes in k8s.io/api and k8s.io/apimachinery are mentioned here because k8s.io/client-go depends on them.

v7.0.0

Breaking Changes:

  • Google Cloud Service Account email addresses can now be used in RBAC Role bindings since the default scopes now include the userinfo.email scope. This is a breaking change if the numeric uniqueIDs of the Google service accounts were being used in RBAC role bindings. The behavior can be overridden by explicitly specifying the scope values as comma-separated string in the users[*].config.scopes field in the KUBECONFIG file.

  • [k8s.io/api] The ConfigOK node condition has been renamed to KubeletConfigOk.

New Features:

Bug fixes and Improvements:

v6.0.0

Breaking Changes:

New Features:

Bug fixes and Improvements:

v5.0.1

Bug fix: picked up a security fix kubernetes/kubernetes#53443 for PodSecurityPolicy.

v5.0.0

New features:

API changes:

Breaking changes:

  • Moved pkg/api and pkg/apis to k8s.io/api. Other kubernetes repositories also import types from there, so they are composable with client-go.

  • Removed helper functions in pkg/api and pkg/apis. They are planned to be exported in other repos. The issue is tracked here. During the transition, you'll have to copy the helper functions to your projects.

  • The discovery client now fetches the protobuf encoded OpenAPI schema and returns openapi_v2.Document

  • Enforced explicit references to API group client interfaces in clientsets to avoid ambiguity.

  • The generic RESTClient type (k8s.io/client-go/rest) no longer exposes LabelSelectorParam or FieldSelectorParam methods - use VersionedParams with metav1.ListOptions instead. The UintParam method has been removed. The timeout parameter will no longer cause an error when using Param().

v4.0.0

No significant changes since v4.0.0-beta.0.

v4.0.0-beta.0

New features:

Usability improvements:

  • Added several new examples and reorganized client-go/examples

API changes:

Breaking changes:

Bug fixes:

v3.0.0

Bug fixes:

v3.0.0-beta.0

  • Added dependency on k8s.io/apimachinery. The impacts include changing import path of API objects like ListOptions from k8s.io/client-go/pkg/api/v1 to k8s.io/apimachinery/pkg/apis/meta/v1.
  • Added generated listers (listers/) and informers (informers/)
  • Kubernetes API changes:
    • Added client support for:
      • authentication/v1
      • authorization/v1
      • autoscaling/v2alpha1
      • rbac/v1beta1
      • settings/v1alpha1
      • storage/v1
    • Changed client support for:
      • certificates from v1alpha1 to v1beta1
      • policy from v1alpha1 to v1beta1
    • Deleted client support for:
      • extensions/v1beta1#Job
  • CHANGED: pass typed options to dynamic client (https://github.com/kubernetes/kubernetes/pull/41887)

v2.0.0

  • Included bug fixes in k8s.io/kuberentes release-1.5 branch, up to commit bde8578d9675129b7a2aa08f1b825ec6cc0f3420

v2.0.0-alpha.1

  • Removed top-level version folder (e.g., 1.4 and 1.5), switching to maintaining separate versions in separate branches.
  • Clientset supported multiple versions per API group
  • Added ThirdPartyResources example
  • Kubernetes API changes
    • Apps API group graduated to v1beta1
    • Policy API group graduated to v1beta1
    • Added support for batch/v2alpha1/cronjob
    • Renamed PetSet to StatefulSet

v1.5.0