-
- Downloads
Fix deploy boards for Kubernetes 1.22
The extensions/v1beta1 was removed on Kubernetes 1.22: https://kubernetes.io/blog/2021/07/14/upcoming-changes-in-kubernetes-1-22/ Whenever we call extensions_client.discover the code raises a 404 not found and we fail to load deployments and ingresses. Consequently our deploy_boards also fail. The fix is simply to not use this client anymore, since we don't need to look for resources in this APIs anymore. We should simply use the new APIs as suggested by the Kubernetes 1.22 documentation. That is networking.k8s.io/v1 for ingresses and apps/v1 for deployments. Changelog: fixed
parent
0897e267
No related branches found
No related tags found
This commit is part of merge request !90448. Comments created here will be created in the context of that merge request.
Showing
- lib/gitlab/kubernetes/kube_client.rb 4 additions, 40 deletionslib/gitlab/kubernetes/kube_client.rb
- spec/lib/gitlab/kubernetes/kube_client_spec.rb 18 additions, 80 deletionsspec/lib/gitlab/kubernetes/kube_client_spec.rb
- spec/support/helpers/kubernetes_helpers.rb 2 additions, 35 deletionsspec/support/helpers/kubernetes_helpers.rb
-
mentioned in merge request kubitus-project/kubitus-installer!1252 (merged)
-
mentioned in merge request !94056 (merged)
-
mentioned in merge request !91259 (merged)
-
mentioned in issue #371249 (closed)
Please register or sign in to comment