@@ -11,7 +11,7 @@ defmodule Kube.Client do
1111
1212 get_request :get_dashboard , Kube.Dashboard , "platform.plural.sh" , "v1alpha1" , "dashboards"
1313 get_request :get_slashcommand , Kube.SlashCommand , "platform.plural.sh" , "v1alpha1" , "slashcommands"
14- get_request :get_application , Kube.Application , "app.k8s.io" , "v1 " , "applications"
14+ get_request :get_application , Kube.Application , "app.k8s.io" , "v1beta1 " , "applications"
1515 get_request :get_certificate , Kube.Certificate , "cert-manager.io" , "v1" , "certificates"
1616 get_request :get_runbook , Kube.Runbook , "platform.plural.sh" , "v1alpha1" , "runbooks"
1717 get_request :get_statefulset_resize , Kube.StatefulSetResize , "platform.plural.sh" , "v1alpha1" , "statefulsetresizes"
@@ -28,7 +28,7 @@ defmodule Kube.Client do
2828 end
2929
3030 def list_applications ( ) do
31- make_request ( "/apis/app.k8s.io/v1 /applications" , "get" , Kube.ApplicationList )
31+ make_request ( "/apis/app.k8s.io/v1beta1 /applications" , "get" , Kube.ApplicationList )
3232 end
3333
3434 def list_metrics ( ) do
0 commit comments