Merge pull request #61 from littlebeer2100/components

components
This commit is contained in:
alex.fan
2018-06-07 17:19:18 +08:00
committed by GitHub

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 {