add istio kubesphere components

This commit is contained in:
yanmingfan
2018-06-05 17:55:15 +08:00
parent 028656fd91
commit a99233ee1e

View File

@@ -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
}
}