File tree Expand file tree Collapse file tree 3 files changed +74
-0
lines changed
Expand file tree Collapse file tree 3 files changed +74
-0
lines changed Original file line number Diff line number Diff line change @@ -359,6 +359,7 @@ Example Configuration Files
359359- `simple-ingress-fanout.yaml <./_static/config_examples/simple-ingress-fanout.yaml >`_
360360- `name-based-ingress.yaml <./_static/config_examples/name-based-ingress.yaml >`_
361361- `ingress-with-health-monitors.yaml <./_static/config_examples/ingress-with-health-monitors.yaml >`_
362+ - `sample-rbac.yaml <./_static/config_examples/sample-rbac.yaml >`_
362363
363364
364365.. [#objectpartition] The |kctlr-long | creates and manages objects in the BIG-IP partition defined in the `F5 resource </containers/v1/kubernetes/index.html#f5-resource-properties >`_ ConfigMap.
Original file line number Diff line number Diff line change 1313 labels :
1414 app : k8s-bigip-ctlr
1515 spec :
16+ serviceAccountName : bigip-ctlr-serviceaccount
1617 containers :
1718 - name : k8s-bigip-ctlr
1819 # Specify the path to your image here
5051 ]
5152 imagePullSecrets :
5253 - name : f5-docker-images
54+
55+ ---
56+
57+ apiVersion : v1
58+ kind : ServiceAccount
59+ metadata :
60+ name : bigip-ctlr-serviceaccount
61+ namespace : kube-system
Original file line number Diff line number Diff line change 1+ # for use in clusters using RBAC
2+ kind : ClusterRole
3+ apiVersion : rbac.authorization.k8s.io/v1beta1
4+ metadata :
5+ name : bigip-ctlr-clusterrole
6+ rules :
7+ - apiGroups :
8+ - " "
9+ resources :
10+ - nodes
11+ - services
12+ - endpoints
13+ - namespaces
14+ verbs :
15+ - get
16+ - list
17+ - watch
18+ - apiGroups :
19+ - extensions
20+ resources :
21+ - ingresses
22+ verbs :
23+ - get
24+ - list
25+ - watch
26+ - apiGroups :
27+ - " "
28+ resources :
29+ - configmaps
30+ - events
31+ verbs :
32+ - get
33+ - list
34+ - watch
35+ - update
36+ - create
37+ - patch
38+ - apiGroups :
39+ - " extensions"
40+ resources :
41+ - ingresses/status
42+ verbs :
43+ - get
44+ - list
45+ - watch
46+ - update
47+ - create
48+ - patch
49+
50+ ---
51+
52+ kind : ClusterRoleBinding
53+ apiVersion : rbac.authorization.k8s.io/v1beta1
54+ metadata :
55+ name : bigip-ctlr-clusterrole-binding
56+ namespace : kube-system
57+ roleRef :
58+ apiGroup : rbac.authorization.k8s.io
59+ kind : ClusterRole
60+ name : bigip-ctlr-clusterrole
61+ subjects :
62+ - kind : ServiceAccount
63+ name : bigip-ctlr-serviceaccount
64+ namespace : kube-system
You can’t perform that action at this time.
0 commit comments