upgrade monitoring api version (#2015)
Signed-off-by: huanggze <loganhuang@yunify.com>
This commit is contained in:
@@ -34,7 +34,7 @@ const (
|
|||||||
RespOK = "ok"
|
RespOK = "ok"
|
||||||
)
|
)
|
||||||
|
|
||||||
var GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha2"}
|
var GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha3"}
|
||||||
|
|
||||||
func AddToContainer(c *restful.Container, k8sClient kubernetes.Interface, monitoringClient monitoring.Interface) error {
|
func AddToContainer(c *restful.Container, k8sClient kubernetes.Interface, monitoringClient monitoring.Interface) error {
|
||||||
ws := runtime.NewWebService(GroupVersion)
|
ws := runtime.NewWebService(GroupVersion)
|
||||||
|
|||||||
Reference in New Issue
Block a user