File tree Expand file tree Collapse file tree 4 files changed +55
-0
lines changed
testdata/memcached-molecule-operator/config Expand file tree Collapse file tree 4 files changed +55
-0
lines changed Original file line number Diff line number Diff line change 1+ apiVersion : v1
2+ kind : Service
3+ metadata :
4+ labels :
5+ control-plane : controller-manager
6+ app.kubernetes.io/name : memcached-molecule-operator
7+ app.kubernetes.io/managed-by : kustomize
8+ name : controller-manager-metrics-service
9+ namespace : system
10+ spec :
11+ ports :
12+ - name : https
13+ port : 8443
14+ protocol : TCP
15+ targetPort : 8443
16+ selector :
17+ control-plane : controller-manager
Original file line number Diff line number Diff line change 1+ apiVersion : rbac.authorization.k8s.io/v1
2+ kind : ClusterRole
3+ metadata :
4+ name : metrics-auth-role
5+ rules :
6+ - apiGroups :
7+ - authentication.k8s.io
8+ resources :
9+ - tokenreviews
10+ verbs :
11+ - create
12+ - apiGroups :
13+ - authorization.k8s.io
14+ resources :
15+ - subjectaccessreviews
16+ verbs :
17+ - create
Original file line number Diff line number Diff line change 1+ apiVersion : rbac.authorization.k8s.io/v1
2+ kind : ClusterRoleBinding
3+ metadata :
4+ name : metrics-auth-rolebinding
5+ roleRef :
6+ apiGroup : rbac.authorization.k8s.io
7+ kind : ClusterRole
8+ name : metrics-auth-role
9+ subjects :
10+ - kind : ServiceAccount
11+ name : controller-manager
12+ namespace : system
Original file line number Diff line number Diff line change 1+ apiVersion : rbac.authorization.k8s.io/v1
2+ kind : ClusterRole
3+ metadata :
4+ name : metrics-reader
5+ rules :
6+ - nonResourceURLs :
7+ - " /metrics"
8+ verbs :
9+ - get
You can’t perform that action at this time.
0 commit comments