From a99233ee1ed1d4459950960895265677fa5e1b21 Mon Sep 17 00:00:00 2001 From: yanmingfan Date: Tue, 5 Jun 2018 17:55:15 +0800 Subject: [PATCH] add istio kubesphere components --- pkg/models/components.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkg/models/components.go b/pkg/models/components.go index 8955eb530..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 { @@ -294,4 +296,4 @@ func GetComponents() (result []Components, err error) { return result, nil -} \ No newline at end of file +}