17 lines
513 B
YAML
17 lines
513 B
YAML
{{ if eq (include "multicluster.role" .) "host" }}
|
|
apiVersion: tenant.kubesphere.io/v1beta1
|
|
kind: WorkspaceTemplate
|
|
metadata:
|
|
labels:
|
|
kubesphere.io/protected-resource: 'true'
|
|
annotations:
|
|
kubesphere.io/creator: admin
|
|
kubesphere.io/description: "system-workspace is a built-in workspace automatically created by KubeSphere. It contains all system components to run KubeSphere."
|
|
name: system-workspace
|
|
spec:
|
|
placement:
|
|
clusterSelector: {}
|
|
template:
|
|
spec:
|
|
manager: admin
|
|
{{ end }} |