1
0
mirror of https://github.com/rancher/types.git synced 2025-08-31 12:48:45 +00:00

Add istio VirtualService and DestinationRule types

This commit is contained in:
gitlawr
2019-06-17 10:50:12 +08:00
parent 22e321a584
commit bd5a9e3e53
3 changed files with 41 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ package main
import (
monitoringv1 "github.com/coreos/prometheus-operator/pkg/client/monitoring/v1"
istiov1alpha3 "github.com/knative/pkg/apis/istio/v1alpha3"
clusterSchema "github.com/rancher/types/apis/cluster.cattle.io/v3/schema"
managementSchema "github.com/rancher/types/apis/management.cattle.io/v3/schema"
publicSchema "github.com/rancher/types/apis/management.cattle.io/v3public/schema"
@@ -96,4 +97,11 @@ func main() {
},
[]interface{}{},
)
generator.GenerateNativeTypes(istiov1alpha3.SchemeGroupVersion,
[]interface{}{
istiov1alpha3.VirtualService{},
istiov1alpha3.DestinationRule{},
},
[]interface{}{},
)
}