k8up-io / wrestic

Restic Backup Kubernetes and OpenShift Wrapper - Part of K8up
BSD 3-Clause "New" or "Revised" License
16 stars 3 forks source link

Update module k8s.io/client-go to v12 - autoclosed #43

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
k8s.io/client-go require major v5.0.1+incompatible -> v12.0.0

Release Notes

kubernetes/client-go ### [`v12.0.0`](https://togithub.com/kubernetes/client-go/compare/v11.0.0...v12.0.0) [Compare Source](https://togithub.com/kubernetes/client-go/compare/v11.0.0...v12.0.0) ### [`v11.0.0`](https://togithub.com/kubernetes/client-go/compare/v10.0.0...v11.0.0) [Compare Source](https://togithub.com/kubernetes/client-go/compare/v10.0.0...v11.0.0) ### [`v10.0.0`](https://togithub.com/kubernetes/client-go/blob/master/CHANGELOG.md#v1000) [Compare Source](https://togithub.com/kubernetes/client-go/compare/v9.0.0...v10.0.0) **Breaking Changes:** - Action required: client-go will no longer have bootstrap (`k8s.io/client-go/tools/bootstrap`) related code. Any reference to it will break. Please redirect all references to `k8s.io/bootstrap` instead. ([#​67356](https://togithub.com/kubernetes/kubernetes/pull/67356)) - The methods `NewSelfSignedCACert` and `NewSignedCert` now use `crypto.Signer` interface instead of `rsa.PrivateKey` for certificate creation. This is done to allow different kind of private keys (for example: ecdsa). ([#​69329](https://togithub.com/kubernetes/kubernetes/pull/69329)) - `GetScale` and `UpdateScale` methods have been added for `apps/v1` clients and with this, no-verb scale clients have been removed. ([#​70437](https://togithub.com/kubernetes/kubernetes/pull/70437)) - `k8s.io/client-go/util/cert/triple` package has been removed. ([#​70966](https://togithub.com/kubernetes/kubernetes/pull/70966)) **New Features:** - `unfinished_work_microseconds` is added to the workqueue metrics. It can be used to detect stuck worker threads (kube-controller-manager runs many workqueues.). ([#​70884](https://togithub.com/kubernetes/kubernetes/pull/70884)) - A method `GetPorts` is added to expose the ports that were forwarded. This can be used to retrieve the locally-bound port in cases where the input was port 0. ([#​67513](https://togithub.com/kubernetes/kubernetes/pull/67513)) - Dynamic listers and informers, that work with `runtime.Unstructured` objects, are added. These are useful for writing generic, non-generated controllers. ([68748](https://togithub.com/kubernetes/kubernetes/pull/68748)) - The dynamic fake client now supports JSONPatch. ([#​69330](https://togithub.com/kubernetes/kubernetes/pull/69330)) - The `GetBinding` method is added for pods in the fake client. ([#​69412](https://togithub.com/kubernetes/kubernetes/pull/69412)) **Bug fixes and Improvements:** - The `apiVersion` and action name values for fake evictions are now set. ([#​69035](https://togithub.com/kubernetes/kubernetes/pull/69035)) - PEM files containing both TLS certificate and key can now be parsed in arbitrary order. Previously key was always required to be first. ([#​69536](https://togithub.com/kubernetes/kubernetes/pull/69536)) - Go clients created from a kubeconfig that specifies a `TokenFile` now periodically reload the token from the specified file. ([#​70606](https://togithub.com/kubernetes/kubernetes/pull/70606)) - It is now ensured that oversized data frames are not written to spdystreams in `remotecommand.NewSPDYExecutor`. ([#​70999](https://togithub.com/kubernetes/kubernetes/pull/70999)) - A panic occuring on calling `scheme.Convert` is fixed by populating the fake dynamic client scheme. ([#​69125](https://togithub.com/kubernetes/kubernetes/pull/69125)) - Add step to correctly setup permissions for the in-cluster-client-configuration example. ([#​69232](https://togithub.com/kubernetes/kubernetes/pull/69232)) - The function `Parallelize` is deprecated. Use `ParallelizeUntil` instead. ([#​68403](https://togithub.com/kubernetes/kubernetes/pull/68403)) - \[k8s.io/apimachinery] Restrict redirect following from the apiserver to same-host redirects, and ignore redirects in some cases. ([#​66516](https://togithub.com/kubernetes/kubernetes/pull/66516)) #### API changes **New Features:** - GlusterFS PersistentVolumes sources can now reference endpoints in any namespace using the `spec.glusterfs.endpointsNamespace` field. Ensure all kubelets are upgraded to 1.13+ before using this capability. ([#​60195](https://togithub.com/kubernetes/kubernetes/pull/60195)) - The [dynamic audit configuration](https://togithub.com/kubernetes/community/blob/master/keps/sig-auth/0014-dynamic-audit-configuration.md) API is added. ([#​67547](https://togithub.com/kubernetes/kubernetes/pull/67547)) - A new field `EnableServiceLinks` is added to the `PodSpec` to indicate whether information about services should be injected into pod's environment variables. ([#​68754](https://togithub.com/kubernetes/kubernetes/pull/68754)) - `CSIPersistentVolume` feature, i.e. `PersistentVolumes` with `CSIPersistentVolumeSource`, is GA. `CSIPersistentVolume` feature gate is now deprecated and will be removed according to deprecation policy. ([#​69929](https://togithub.com/kubernetes/kubernetes/pull/69929)) - Raw block volume support is promoted to beta, and enabled by default. This is accessible via the `volumeDevices` container field in pod specs, and the `volumeMode` field in persistent volume and persistent volume claims definitions. ([#​71167](https://togithub.com/kubernetes/kubernetes/pull/71167)) **Bug fixes and Improvements:** - The default value of extensions/v1beta1 Deployment's `RevisionHistoryLimit` is set to `MaxInt32`. ([#​66605](https://togithub.com/kubernetes/kubernetes/pull/66605)) - `procMount` field is no longer incorrectly marked as required in openapi schema. ([#​69694](https://togithub.com/kubernetes/kubernetes/pull/69694)) - The caBundle and service fields in admission webhook API objects now correctly indicate they are optional. ([#​70138](https://togithub.com/kubernetes/kubernetes/pull/70138)) ### [`v9.0.0`](https://togithub.com/kubernetes/client-go/blob/master/CHANGELOG.md#v900) [Compare Source](https://togithub.com/kubernetes/client-go/compare/v8.0.0...v9.0.0) **Breaking Changes:** - client-go now supports additional non-alpha-numeric characters in UserInfo "extra" data keys. It should be updated in order to properly support extra data containing "/" characters or other characters disallowed in HTTP headers. Old clients sending keys which were `%`-escaped by the user will have their values unescaped by new API servers. ([#​65799](https://togithub.com/kubernetes/kubernetes/pull/65799)) - `apimachinery/pkg/watch.Until` has been moved to `client-go/tools/watch.UntilWithoutRetry`. While switching please consider using the new `client-go/tools/watch.UntilWithSync` or `client-go/tools/watch.Until`. ([#​66906](https://togithub.com/kubernetes/kubernetes/pull/66906)) - \[k8s.io/apimachinery] `Unstructured` metadata accessors now respect omitempty semantics i.e. a field having zero value will now be removed from the unstructured metadata map. ([#​67635](https://togithub.com/kubernetes/kubernetes/pull/67635)) - \[k8s.io/apimachinery] The `ObjectConvertor` interface is now changed such that `ConvertFieldLabel` func takes GroupVersionKind as an argument instead of just version and kind. ([#​65780](https://togithub.com/kubernetes/kubernetes/pull/65780)) - \[k8s.io/apimachinery] componentconfig `ClientConnectionConfiguration` is moved to `k8s.io/apimachinery/pkg/apis/config`. ([#​66058](https://togithub.com/kubernetes/kubernetes/pull/66058)) - \[k8s.io/apimachinery] Renamed ` KubeConfigFile ` to `Kubeconfig` in `ClientConnectionConfiguration`. ([#​67149](https://togithub.com/kubernetes/kubernetes/pull/67149)) - \[k8s.io/apimachinery] JSON patch no longer supports `int`. ([#​63522](https://togithub.com/kubernetes/kubernetes/pull/63522)) **New Features:** - Add ability to cancel leader election. This also proves useful in integration tests where the whole app is started and stopped in each test. ([#​57932](https://togithub.com/kubernetes/kubernetes/pull/57932)) - An example showing how to use fake clients in tests is added. ([#​65291](https://togithub.com/kubernetes/kubernetes/pull/65291)) - \[k8s.io/apimachinery] Create and Update now support `CreateOptions` and `UpdateOptions`. ([#​65105](https://togithub.com/kubernetes/kubernetes/pull/65105)) **Bug fixes and Improvements:** - Decrease the amount of time it takes to modify kubeconfig files with large amounts of contexts. ([#​67093](https://togithub.com/kubernetes/kubernetes/pull/67093)) - The leader election client now renews timeout. ([#​65094](https://togithub.com/kubernetes/kubernetes/pull/65094)) - Switched certificate data replacement from `REDACTED` to `DATA+OMITTED`. ([#​66023](https://togithub.com/kubernetes/kubernetes/pull/66023)) - Fix listing in the fake dynamic client. ([#​66078](https://togithub.com/kubernetes/kubernetes/pull/66078)) - Fix discovery so that plural names are no longer ignored if a singular name is not specified. ([#​66249](https://togithub.com/kubernetes/kubernetes/pull/66249)) - Fix kubelet startup failure when using `ExecPlugin` in kubeconfig. ([#​66395](https://togithub.com/kubernetes/kubernetes/pull/66395)) - Fix panic in the fake `SubjectAccessReview` client when object is nil. ([#​66837](https://togithub.com/kubernetes/kubernetes/pull/66837)) - Periodically reload `InClusterConfig` token. ([#​67359](https://togithub.com/kubernetes/kubernetes/pull/67359)) - \[k8s.io/apimachinery] Report parsing error in json serializer. ([#​63668](https://togithub.com/kubernetes/kubernetes/pull/63668)) - \[k8s.io/apimachinery] The `metav1.ObjectMeta` accessor does not deepcopy owner references anymore. In general, the accessor interface does not enforce deepcopy nor does it forbid it (e.g. for `unstructured.Unstructured`). ([#​64915](https://togithub.com/kubernetes/kubernetes/pull/64915)) - \[k8s.io/apimachinery] Utility functions `SetTransportDefaults` and `DialerFor` once again respect custom Dial functions set on transports. ([#​65547](https://togithub.com/kubernetes/kubernetes/pull/65547)) - \[k8s.io/apimachinery] Speed-up conversion function invocation by avoiding `reflect.Call`. Action required: regenerated conversion with conversion-gen. ([#​65771](https://togithub.com/kubernetes/kubernetes/pull/65771)) - \[k8s.io/apimachinery] Establish "406 Not Acceptable" response for unmarshable protobuf serialization error. ([#​67041](https://togithub.com/kubernetes/kubernetes/pull/67041)) - \[k8s.io/apimachinery] Immediately close the other side of the connection by exiting once one side closes when proxying. ([#​67288](https://togithub.com/kubernetes/kubernetes/pull/67288)) #### API changes **Breaking Changes:** - Volume dynamic provisioning scheduling has been promoted to beta. ACTION REQUIRED: The DynamicProvisioningScheduling alpha feature gate has been removed. The VolumeScheduling beta feature gate is still required for this feature. ([#​67432](https://togithub.com/kubernetes/kubernetes/pull/67432)) - The CSI file system type is no longer defaulted to ext4. All the production drivers listed under https://kubernetes-csi.github.io/docs/drivers.html were inspected and should not be impacted after this change. If you are using a driver not in that list, please test the drivers on an updated test cluster first. ([#​65499](https://togithub.com/kubernetes/kubernetes/pull/65499)) **New Features:** - Support annotations for remote admission webhooks. ([#​58679](https://togithub.com/kubernetes/kubernetes/pull/58679)) - Support both directory and block device for local volume plugin `FileSystem` `VolumeMode`. ([#​63011](https://togithub.com/kubernetes/kubernetes/pull/63011)) - Introduce `autoscaling/v2beta2` and `custom_metrics/v1beta2`, which implement metric selectors for Object and Pods metrics, as well as allowing AverageValue targets on Objects, similar to External metrics. ([#​64097](https://togithub.com/kubernetes/kubernetes/pull/64097)) - Add `Lease` API in the `coordination.k8s.io` API group. ([#​64246](https://togithub.com/kubernetes/kubernetes/pull/64246)) - `ProcMount` added to `SecurityContext` and `AllowedProcMounts` added to `PodSecurityPolicy` to allow paths in the container's `/proc` to not be masked. ([#​64283](https://togithub.com/kubernetes/kubernetes/pull/64283)) - Add the `AuditAnnotations` field to `ImageReviewStatus` to allow the `ImageReview` backend to return annotations to be added to the created pod. ([#​64597](https://togithub.com/kubernetes/kubernetes/pull/64597)) - SCTP is now supported as additional protocol (alpha) alongside TCP and UDP in Pod, Service, Endpoint, and NetworkPolicy. ([#​64973](https://togithub.com/kubernetes/kubernetes/pull/64973)) - The `PodShareProcessNamespace` feature to configure PID namespace sharing within a pod has been promoted to beta. ([#​66507](https://togithub.com/kubernetes/kubernetes/pull/66507)) - Add `TTLSecondsAfterFinished` to `JobSpec` for cleaning up Jobs after they finish. ([#​66840](https://togithub.com/kubernetes/kubernetes/pull/66840)) - Add `DataSource` and `TypedLocalObjectReference` fields to support restoring a volume from a volume snapshot data source. ([#​67087](https://togithub.com/kubernetes/kubernetes/pull/67087)) - `RuntimeClass` is a new API resource for defining different classes of runtimes that may be used to run containers in the cluster. Pods can select a `RunitmeClass` to use via the `RuntimeClassName` field. This feature is in alpha, and the `RuntimeClass` feature gate must be enabled in order to use it. ([#​67737](https://togithub.com/kubernetes/kubernetes/pull/67737)) - To address the possibility dry-run requests overwhelming admission webhooks that rely on side effects and a reconciliation mechanism, a new field is being added to `admissionregistration.k8s.io/v1beta1.ValidatingWebhookConfiguration` and `admissionregistration.k8s.io/v1beta1.MutatingWebhookConfiguration` so that webhooks can explicitly register as having dry-run support. If a dry-run request is made on a resource that triggers a non dry-run supporting webhook, the request will be completely rejected, with "400: Bad Request". Additionally, a new field is being added to the `admission.k8s.io/v1beta1.AdmissionReview` API object, exposing to webhooks whether or not the request being reviewed is a dry-run. ([#​66936](https://togithub.com/kubernetes/kubernetes/pull/66936)) **Bug fixes and Improvements:** - The `DisruptedPods` field in `PodDisruptionBudgetStatus` is now optional. ([#​63757](https://togithub.com/kubernetes/kubernetes/pull/63757)) - `extensions/v1beta1` Deployment's `ProgressDeadlineSeconds` now defaults to `MaxInt32`. ([#​66581](https://togithub.com/kubernetes/kubernetes/pull/66581)) ### [`v8.0.0`](https://togithub.com/kubernetes/client-go/blob/master/CHANGELOG.md#v800) [Compare Source](https://togithub.com/kubernetes/client-go/compare/v7.0.0...v8.0.0) **Breaking Changes:** - `KUBE_API_VERSIONS` has been removed. - [kubernetes/kubernetes#​63165](https://togithub.com/kubernetes/kubernetes/pull/63165) - The client-go/discovery `RESTMapper` has been moved to client-go/restmapper. - [kubernetes/kubernetes#​63507](https://togithub.com/kubernetes/kubernetes/pull/63507) - `CachedDiscoveryClient` has been moved from kubectl to client-go. - [kubernetes/kubernetes#​63550](https://togithub.com/kubernetes/kubernetes/pull/63550) - The `EventRecorder` interface is changed to include an `AnnotatedEventf` method, which can add annotations to an event. - [kubernetes/kubernetes#​64213](https://togithub.com/kubernetes/kubernetes/pull/64213) - \[k8s.io/apimachinery] The deprecated `RepairMalformedUpdates` flag has been removed. - [kubernetes/kubernetes#​61455](https://togithub.com/kubernetes/kubernetes/pull/61455) **New Features:** - A new easy-to-use dynamic client is added and the old dynamic client is now deprecated. - [kubernetes/kubernetes#​62913](https://togithub.com/kubernetes/kubernetes/pull/62913) - client-go and kubectl now detect and report an error on duplicated name for user, cluster and context, while loading the kubeconfig. - [kubernetes/kubernetes#​60464](https://togithub.com/kubernetes/kubernetes/pull/60464) - The informer code-generator now allows specifying a custom resync period for certain informer types and uses the default resync period if none is specified. - [kubernetes/kubernetes#​61400](https://togithub.com/kubernetes/kubernetes/pull/61400) - Exec authenticator plugin now supports TLS client certificates. - [kubernetes/kubernetes#​61803](https://togithub.com/kubernetes/kubernetes/pull/61803) - The discovery client now has a default request timeout of 32 seconds. - [kubernetes/kubernetes#​62733](https://togithub.com/kubernetes/kubernetes/pull/62733) - The OpenStack auth config from is now read from the client config. If the client config is not available, it falls back to reading from the environment variables. - [kubernetes/kubernetes#​60200](https://togithub.com/kubernetes/kubernetes/pull/60200) - The in-tree support for openstack credentials is now deprecated. Please use the `client-keystone-auth` from the cloud-provider-openstack repository. Details on how to use this new capability is documented [here](https://togithub.com/kubernetes/cloud-provider-openstack/blob/master/docs/using-client-keystone-auth.md) - [kubernetes/kubernetes#​64346](https://togithub.com/kubernetes/kubernetes/pull/64346) **Bug fixes and Improvements:** - 406 mime-type errors are now tolerated while attempting to load new openapi schema. This improves compatibility with older servers when creating/updating API objects. - [kubernetes/kubernetes#​61949](https://togithub.com/kubernetes/kubernetes/pull/61949) - Removes the generated `DeleteCollection()` method for `Services` since the API does not support it. - [kubernetes/kubernetes#​63861](https://togithub.com/kubernetes/kubernetes/pull/63861) - Event object references with apiversion now report an apiversion, instead of just the group. - [kubernetes/kubernetes#​63913](https://togithub.com/kubernetes/kubernetes/pull/63913) [kubernetes/kubernetes#​62462](https://togithub.com/kubernetes/kubernetes/pull/62462) - \[k8s.io/apimachinery] `runtime.Unstructured.UnstructuredContent()` no longer mutates the source while returning the contents. - [kubernetes/kubernetes#​62063](https://togithub.com/kubernetes/kubernetes/pull/62063) - \[k8s.io/apimachinery] Incomplete support for `uint64` is now removed. This fixes a panic encountered while using `DeepCopyJSON` with `uint64`. - [kubernetes/kubernetes#​62981](https://togithub.com/kubernetes/kubernetes/pull/62981) - \[k8s.io/apimachinery] API server can now parse `propagationPolicy` when it sent as a query parameter sent with a delete request. - [kubernetes/kubernetes#​63414](https://togithub.com/kubernetes/kubernetes/pull/63414) - \[k8s.io/apimachinery] APIServices with kube-like versions (e.g. v1, v2beta1, etc.) will be sorted appropriately within each group. - [kubernetes/kubernetes#​64004](https://togithub.com/kubernetes/kubernetes/pull/64004) - \[k8s.io/apimachinery] `int64` is the only allowed integer for printers. - [kubernetes/kubernetes#​64639](https://togithub.com/kubernetes/kubernetes/pull/64639) #### API changes **Breaking Changes:** - Support for `alpha.kubernetes.io/nvidia-gpu` resource which was deprecated in 1.10 is removed. Please use the resource exposed by `DevicePlugins` instead (`nvidia.com/gpu`). - [kubernetes/kubernetes#​61498](https://togithub.com/kubernetes/kubernetes/pull/61498) - Alpha annotation for `PersistentVolume` node affinity has been removed. Update your `PersistentVolume`s to use the beta `PersistentVolume.nodeAffinity` field before upgrading. - [kubernetes/kubernetes#​61816](https://togithub.com/kubernetes/kubernetes/pull/61816) - ` ObjectMeta ` `ListOptions` `DeleteOptions` are removed from the core api group. Please use the ones in `meta/v1` instead. - [kubernetes/kubernetes#​61809](https://togithub.com/kubernetes/kubernetes/pull/61809) - `ExternalID` in `NodeSpec` is deprecated. The externalID of the node is no longer set in the Node spec. - [kubernetes/kubernetes#​61877](https://togithub.com/kubernetes/kubernetes/pull/61877) - PSP-related types in the `extensions/v1beta1` API group are now deprecated. It is suggested to use the `policy/v1beta1` API group instead. - [kubernetes/kubernetes#​61777](https://togithub.com/kubernetes/kubernetes/pull/61777) **New Features:** - `PodSecurityPolicy` now supports restricting hostPath volume mounts to be readOnly and under specific path prefixes. - [kubernetes/kubernetes#​58647](https://togithub.com/kubernetes/kubernetes/pull/58647) - `Node.Spec.ConfigSource.ConfigMap.KubeletConfigKey` must be specified when using dynamic Kubelet config to tell the Kubelet which key of the `ConfigMap` identifies its config file. - [kubernetes/kubernetes#​59847](https://togithub.com/kubernetes/kubernetes/pull/59847) - `serverAddressByClientCIDRs` in `meta/v1` APIGroup is now optional. - [kubernetes/kubernetes#​61963](https://togithub.com/kubernetes/kubernetes/pull/61963) - A new field `MatchFields` is added to `NodeSelectorTerm`. Currently, it only supports `metadata.name`. - [kubernetes/kubernetes#​62002](https://togithub.com/kubernetes/kubernetes/pull/62002) - The `PriorityClass` API is promoted to `scheduling.k8s.io/v1beta1`. - [kubernetes/kubernetes#​63100](https://togithub.com/kubernetes/kubernetes/pull/63100) - The status of dynamic Kubelet config is now reported via `Node.Status.Config`, rather than the `KubeletConfigOk` node condition. - [kubernetes/kubernetes#​63314](https://togithub.com/kubernetes/kubernetes/pull/63314) - The `GitRepo` volume type is deprecated. To provision a container with a git repo, mount an `EmptyDir` into an `InitContainer` that clones the repo using git, then mount the `EmptyDir` into the Pod's container. - [kubernetes/kubernetes#​63445](https://togithub.com/kubernetes/kubernetes/pull/63445) - The Sysctls experimental feature has been promoted to beta (enabled by default via the `Sysctls` feature flag). `PodSecurityPolicy` and `Pod` objects now have fields for specifying and controlling sysctls. Alpha sysctl annotations will be ignored by 1.11+ kubelets. All alpha sysctl annotations in existing deployments must be converted to API fields to be effective. - [kubernetes/kubernetes#​63717](https://togithub.com/kubernetes/kubernetes/pull/63717) - The annotation `service.alpha.kubernetes.io/tolerate-unready-endpoints` is deprecated. Users should use `Service.spec.publishNotReadyAddresses` instead. - [kubernetes/kubernetes#​63742](https://togithub.com/kubernetes/kubernetes/pull/63742) - `VerticalPodAutoscaler` has been added to `autoscaling/v1` API group. - [kubernetes/kubernetes#​63797](https://togithub.com/kubernetes/kubernetes/pull/63797) - Alpha support is added for dynamic volume limits based on node type. - [kubernetes/kubernetes#​64154](https://togithub.com/kubernetes/kubernetes/pull/64154) - `ContainersReady` condition is added to the Pod status. - [kubernetes/kubernetes#​64646](https://togithub.com/kubernetes/kubernetes/pull/64646) **Bug fixes and Improvements:** - Default mount propagation has changed from `HostToContainer` (`rslave` in Linux terminology) to `None` (`private`) to match the behavior in 1.9 and earlier releases. `HostToContainer` as a default caused regressions in some pods. - [kubernetes/kubernetes#​62462](https://togithub.com/kubernetes/kubernetes/pull/62462) ### [`v7.0.0`](https://togithub.com/kubernetes/client-go/blob/master/CHANGELOG.md#v700) [Compare Source](https://togithub.com/kubernetes/client-go/compare/v6.0.0...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. - [kubernetes/kubernetes#​58141](https://togithub.com/kubernetes/kubernetes/pull/58141) - \[k8s.io/api] The `ConfigOK` node condition has been renamed to `KubeletConfigOk`. - [kubernetes/kubernetes#​59905](https://togithub.com/kubernetes/kubernetes/pull/59905) **New Features:** - Subresource support is added to the dynamic client. - [kubernetes/kubernetes#​56717](https://togithub.com/kubernetes/kubernetes/pull/56717) - A watch method is added to the Fake Client. - [kubernetes/kubernetes#​57504](https://togithub.com/kubernetes/kubernetes/pull/57504) - `ListOptions` can be modified when creating a `ListWatch`. - [kubernetes/kubernetes#​57508](https://togithub.com/kubernetes/kubernetes/pull/57508) - A `/token` subresource for ServiceAccount is added. - [kubernetes/kubernetes#​58111](https://togithub.com/kubernetes/kubernetes/pull/58111) - If an informer delivery fails, the particular notification is skipped and continued the next time. - [kubernetes/kubernetes#​58394](https://togithub.com/kubernetes/kubernetes/pull/58394) - Certificate manager will no longer wait until the initial rotation succeeds or fails before returning from `Start()`. - [kubernetes/kubernetes#​58930](https://togithub.com/kubernetes/kubernetes/pull/58930) - \[k8s.io/api] `VolumeScheduling` and `LocalPersistentVolume` features are beta and enabled by default. The PersistentVolume NodeAffinity alpha annotation is deprecated and will be removed in a future release. - [kubernetes/kubernetes#​59391](https://togithub.com/kubernetes/kubernetes/pull/59391) - \[k8s.io/api] The `PodSecurityPolicy` API has been moved to the `policy/v1beta1` API group. The `PodSecurityPolicy` API in the `extensions/v1beta1` API group is deprecated and will be removed in a future release. - [kubernetes/kubernetes#​54933](https://togithub.com/kubernetes/kubernetes/pull/54933) - \[k8s.io/api] ConfigMap objects now support binary data via a new `binaryData` field. - [kubernetes/kubernetes#​57938](https://togithub.com/kubernetes/kubernetes/pull/57938) - \[k8s.io/api] Service account TokenRequest API is added. - [kubernetes/kubernetes#​58027](https://togithub.com/kubernetes/kubernetes/pull/58027) - \[k8s.io/api] FSType is added in CSI volume source to specify filesystems. - [kubernetes/kubernetes#​58209](https://togithub.com/kubernetes/kubernetes/pull/58209) - \[k8s.io/api] v1beta1 VolumeAttachment API is added. - [kubernetes/kubernetes#​58462](https://togithub.com/kubernetes/kubernetes/pull/58462) - \[k8s.io/api] `v1.Pod` now has a field `ShareProcessNamespace` to configure whether a single process namespace should be shared between all containers in a pod. This feature is in alpha preview. - [kubernetes/kubernetes#​58716](https://togithub.com/kubernetes/kubernetes/pull/58716) - \[k8s.io/api] Add `NominatedNodeName` field to `PodStatus`. This field is set when a pod preempts other pods on the node. - [kubernetes/kubernetes#​58990](https://togithub.com/kubernetes/kubernetes/pull/58990) - \[k8s.io/api] Promote `CSIPersistentVolumeSourc`e to beta. - [kubernetes/kubernetes#​59157](https://togithub.com/kubernetes/kubernetes/pull/59157) - \[k8s.io/api] Promote `DNSPolicy` and `DNSConfig` in `PodSpec` to beta. - [kubernetes/kubernetes#​59771](https://togithub.com/kubernetes/kubernetes/pull/59771) - \[k8s.io/api] External metric types are added to the HPA API. - [kubernetes/kubernetes#​60096](https://togithub.com/kubernetes/kubernetes/pull/60096) - \[k8s.io/apimachinery] The `meta.k8s.io/v1alpha1` objects for retrieving tabular responses from the server (`Table`) or fetching just the `ObjectMeta` for an object (as `PartialObjectMetadata`) are now beta as part of `meta.k8s.io/v1beta1`. Clients may request alternate representations of normal Kubernetes objects by passing an `Accept` header like `application/json;as=Table;g=meta.k8s.io;v=v1beta1` or `application/json;as=PartialObjectMetadata;g=meta.k8s.io;v1=v1beta1`. Older servers will ignore this representation or return an error if it is not available. Clients may request fallback to the normal object by adding a non-qualified mime-type to their `Accept` header like `application/json` - the server will then respond with either the alternate representation if it is supported or the fallback mime-type which is the normal object response. - [kubernetes/kubernetes#​59059](https://togithub.com/kubernetes/kubernetes/pull/59059) **Bug fixes and Improvements:** - Port-forwarding of TCP6 ports is fixed. - [kubernetes/kubernetes#​57457](https://togithub.com/kubernetes/kubernetes/pull/57457) - A race condition in SharedInformer that could violate the sequential delivery guarantee and cause panics on shutdown is fixed. - [kubernetes/kubernetes#​59828](https://togithub.com/kubernetes/kubernetes/pull/59828) - \[k8s.io/api] PersistentVolume flexVolume sources can now reference secrets in a namespace other than the PersistentVolumeClaim's namespace. - [kubernetes/kubernetes#​56460](https://togithub.com/kubernetes/kubernetes/pull/56460) - \[k8s.io/apimachinery] YAMLDecoder Read can now return the number of bytes read. - [kubernetes/kubernetes#​57000](https://togithub.com/kubernetes/kubernetes/pull/57000) - \[k8s.io/apimachinery] YAMLDecoder Read now tracks rest of buffer on `io.ErrShortBuffer`. - [kubernetes/kubernetes#​58817](https://togithub.com/kubernetes/kubernetes/pull/58817) - \[k8s.io/apimachinery] Prompt required merge key in the error message while applying a strategic merge patch. - [kubernetes/kubernetes#​57854](https://togithub.com/kubernetes/kubernetes/pull/57854) ### [`v6.0.0`](https://togithub.com/kubernetes/client-go/blob/master/CHANGELOG.md#v600) [Compare Source](https://togithub.com/kubernetes/client-go/compare/v5.0.1...v6.0.0) **Breaking Changes:** - If you upgrade your client-go libs and use the `AppsV1() or Apps()` interface, please note that the default garbage collection behavior is changed. - [kubernetes/kubernetes#​55148](https://togithub.com/kubernetes/kubernetes/pull/55148) - Swagger 1.2 retriever `DiscoveryClient.SwaggerSchema` was removed from the discovery client - [kubernetes/kubernetes#​53441](https://togithub.com/kubernetes/kubernetes/pull/53441) - Informers got a NewFilteredSharedInformerFactory to e.g. filter by namespace - [kubernetes/kubernetes#​54660](https://togithub.com/kubernetes/kubernetes/pull/54660) - \[k8s.io/api] The dynamic admission webhook is split into two kinds, mutating and validating. The kinds have changed completely and old code must be ported to `admissionregistration.k8s.io/v1beta1` - `MutatingWebhookConfiguration` and `ValidatingWebhookConfiguration` - [kubernetes/kubernetes#​55282](https://togithub.com/kubernetes/kubernetes/pull/55282) - \[k8s.io/api] Renamed `core/v1.ScaleIOVolumeSource` to `ScaleIOPersistentVolumeSource` - [kubernetes/kubernetes#​54013](https://togithub.com/kubernetes/kubernetes/pull/54013) - \[k8s.io/api] Renamed `core/v1.RBDVolumeSource` to `RBDPersistentVolumeSource` - [kubernetes/kubernetes#​54302](https://togithub.com/kubernetes/kubernetes/pull/54302) - \[k8s.io/api] Removed `core/v1.CreatedByAnnotation` - [kubernetes/kubernetes#​54445](https://togithub.com/kubernetes/kubernetes/pull/54445) - \[k8s.io/api] Renamed `core/v1.StorageMediumHugepages` to `StorageMediumHugePages` - [kubernetes/kubernetes#​54748](https://togithub.com/kubernetes/kubernetes/pull/54748) - \[k8s.io/api] `core/v1.Taint.TimeAdded` became a pointer - [kubernetes/kubernetes#​43016](https://togithub.com/kubernetes/kubernetes/pull/43016) - \[k8s.io/api] `core/v1.DefaultHardPodAffinitySymmetricWeight` type changed from int to int32 - [kubernetes/kubernetes#​53850](https://togithub.com/kubernetes/kubernetes/pull/53850) - \[k8s.io/apimachinery] `ObjectCopier` interface was removed (requires switch to new generators with DeepCopy methods) - [kubernetes/kubernetes#​53525](https://togithub.com/kubernetes/kubernetes/pull/53525) **New Features:** - Certificate manager was moved from kubelet to `k8s.io/client-go/util/certificates` - [kubernetes/kubernetes#​49654](https://togithub.com/kubernetes/kubernetes/pull/49654) - \[k8s.io/api] Workloads api types are promoted to `apps/v1` version - [kubernetes/kubernetes#​53679](https://togithub.com/kubernetes/kubernetes/pull/53679) - \[k8s.io/api] Added `storage.k8s.io/v1alpha1` API group - [kubernetes/kubernetes#​54463](https://togithub.com/kubernetes/kubernetes/pull/54463) - \[k8s.io/api] Added support for conditions in StatefulSet status - [kubernetes/kubernetes#​55268](https://togithub.com/kubernetes/kubernetes/pull/55268) - \[k8s.io/api] Added support for conditions in DaemonSet status - [kubernetes/kubernetes#​55272](https://togithub.com/kubernetes/kubernetes/pull/55272) - \[k8s.io/apimachinery] Added polymorphic scale client in `k8s.io/client-go/scale`, which supports scaling of resources in arbitrary API groups - [kubernetes/kubernetes#​53743](https://togithub.com/kubernetes/kubernetes/pull/53743) - \[k8s.io/apimachinery] `meta.MetadataAccessor` got API chunking support - [kubernetes/kubernetes#​53768](https://togithub.com/kubernetes/kubernetes/pull/53768) - \[k8s.io/apimachinery] `unstructured.Unstructured` got getters and setters - [kubernetes/kubernetes#​51940](https://togithub.com/kubernetes/kubernetes/pull/51940) **Bug fixes and Improvements:** - The body in glog output is not truncated with log level 10 - [kubernetes/kubernetes#​54801](https://togithub.com/kubernetes/kubernetes/pull/54801) - \[k8s.io/api] Unset `creationTimestamp` field is output as null if encoded from an unstructured object - [kubernetes/kubernetes#​53464](https://togithub.com/kubernetes/kubernetes/pull/53464) - \[k8s.io/apimachinery] Redirect behavior is restored for proxy subresources - [kubernetes/kubernetes#​52933](https://togithub.com/kubernetes/kubernetes/pull/52933) - \[k8s.io/apimachinery] Random string generation functions are optimized - [kubernetes/kubernetes#​53720](https://togithub.com/kubernetes/kubernetes/pull/53720)

Configuration

📅 Schedule: 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.



This PR has been generated by WhiteSource Renovate. View repository job log here.

renovate[bot] commented 3 years ago

:warning: Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

:recycle: Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: go.sum
Command failed: docker run --rm --name=renovate_go --label=renovate_child -v "/mnt/renovate/gh/vshn/wrestic":"/mnt/renovate/gh/vshn/wrestic" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -v "/tmp/renovate-cache/others/go":"/tmp/renovate-cache/others/go" -e GOPATH -e CGO_ENABLED -w "/mnt/renovate/gh/vshn/wrestic" docker.io/renovate/go:1.13.15 bash -l -c "git config --global url.\"https://**redacted**@github.com/\".insteadOf \"https://github.com/\" && go get -d ./..."
go: k8s.io/client-go/v12@v12.0.0: go.mod has non-.../v12 module path "k8s.io/client-go" (and .../v12/go.mod does not exist) at revision v12.0.0
renovate[bot] commented 3 years ago

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: go.sum
Command failed: docker run --rm --name=renovate_go --label=renovate_child -v "/mnt/renovate/gh/vshn/wrestic":"/mnt/renovate/gh/vshn/wrestic" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -v "/tmp/renovate-cache/others/go":"/tmp/renovate-cache/others/go" -e GOPATH -e CGO_ENABLED -w "/mnt/renovate/gh/vshn/wrestic" docker.io/renovate/go:1.16.5 bash -l -c "git config --global url.\"https://**redacted**@github.com/\".insteadOf \"https://github.com/\" && go get -d ./... && go mod tidy && go mod tidy"
go: k8s.io/client-go/v12@v12.0.0: go.mod has non-.../v12 module path "k8s.io/client-go" (and .../v12/go.mod does not exist) at revision v12.0.0