diff --git a/pkg/models/components.go b/pkg/models/components.go index 232807af2..178c15700 100644 --- a/pkg/models/components.go +++ b/pkg/models/components.go @@ -28,6 +28,8 @@ import ( const KUBESYSTEM = "kube-system" const OPENPITRIX = "openpitrix-system" +const ISTIO = "istio-system" +const KUBESPHERE = "kubesphere-system" type Components struct { Name string `json:"name"` @@ -228,9 +230,9 @@ func GetComponents() (result []Components, err error) { } - templates = []string{"kube-dns", "heapster", "monitoring-influxdb", "iam", "openpitrix"} + templates = []string{"kube-dns", "heapster", "monitoring-influxdb", "iam", "openpitrix", "istio", "kubesphere"} - namespaces := []string{KUBESYSTEM, OPENPITRIX} + namespaces := []string{KUBESYSTEM, OPENPITRIX, ISTIO, KUBESPHERE} for _, ns := range namespaces {