File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ apiVersion : apps/v1
2+ kind : Deployment
3+ metadata :
4+ name : kubeplus
5+ spec :
6+ replicas : 1
7+ selector :
8+ matchLabels :
9+ app : kubeplus
10+ template :
11+ metadata :
12+ labels :
13+ app : kubeplus
14+ spec :
15+ serviceAccountName : kubeplus
16+ containers :
17+ - name : mutating-webhook-helper
18+ image : lmecld/mutating-webhook-helper:latest
19+ imagePullPolicy : IfNotPresent
20+ - name : discovery-server
21+ image : lmecld/kubediscovery:latest
22+ imagePullPolicy : IfNotPresent
23+ ---
24+ kind : Service
25+ apiVersion : v1
26+ metadata :
27+ name : discovery-service
28+ spec :
29+ selector :
30+ app : kubeplus
31+ ports :
32+ - protocol : TCP
33+ port : 80
34+ targetPort : 8080
35+ type : ClusterIP
36+ ---
37+ apiVersion : rbac.authorization.k8s.io/v1
38+ kind : ClusterRoleBinding
39+ metadata :
40+ name : kubeplus:cluster-admin
41+ roleRef :
42+ apiGroup : rbac.authorization.k8s.io
43+ kind : ClusterRole
44+ name : cluster-admin
45+ subjects :
46+ - kind : ServiceAccount
47+ name : kubeplus
48+ namespace : default
49+ ---
50+ kind : ServiceAccount
51+ apiVersion : v1
52+ metadata :
53+ name : kubeplus
54+ namespace : default
55+ ---
You can’t perform that action at this time.
0 commit comments