1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
| $ kubectl --kubeconfig=/etc/kubernetes/develoop.kubeconfig auth can-i --namespace xxx --list -v=8 I0325 15:58:24.972928 31603 loader.go:379] Config loaded from file: /etc/kubernetes/develoop.kubeconfig I0325 15:58:24.974793 31603 request.go:1107] Request Body: {"kind":"SelfSubjectRulesReview","apiVersion":"authorization.k8s.io/v1","metadata":{"creationTimestamp":null},"spec":{"namespace":"xxx"},"status":{"resourceRules":null,"nonResourceRules":null,"incomplete":false}} I0325 15:58:24.974912 31603 round_trippers.go:422] POST https://127.0.0.1:8443/apis/authorization.k8s.io/v1/selfsubjectrulesreviews I0325 15:58:24.974927 31603 round_trippers.go:429] Request Headers: I0325 15:58:24.974938 31603 round_trippers.go:433] Accept: application/json, */* I0325 15:58:24.974947 31603 round_trippers.go:433] Content-Type: application/json I0325 15:58:24.974957 31603 round_trippers.go:433] User-Agent: kubectl/v1.20.6 (linux/amd64) kubernetes/8a62859 I0325 15:58:24.974968 31603 round_trippers.go:433] Authorization: Bearer <masked> I0325 15:58:25.007471 31603 round_trippers.go:448] Response Status: 201 Created in 32 milliseconds I0325 15:58:25.007513 31603 round_trippers.go:451] Response Headers: I0325 15:58:25.007523 31603 round_trippers.go:454] Cache-Control: no-cache, private I0325 15:58:25.007530 31603 round_trippers.go:454] Content-Type: application/json I0325 15:58:25.007537 31603 round_trippers.go:454] X-Kubernetes-Pf-Flowschema-Uid: 39e31546-1002-4e5b-a810-7bbeb09467a5 I0325 15:58:25.007547 31603 round_trippers.go:454] X-Kubernetes-Pf-Prioritylevel-Uid: 08ee1b31-c8de-4f8a-aa1c-b098f4e02ae1 I0325 15:58:25.007554 31603 round_trippers.go:454] Content-Length: 1028 I0325 15:58:25.007561 31603 round_trippers.go:454] Date: Fri, 25 Mar 2022 07:58:25 GMT I0325 15:58:25.007656 31603 request.go:1107] Response Body: {"kind":"SelfSubjectRulesReview","apiVersion":"authorization.k8s.io/v1","metadata":{"creationTimestamp":null},"spec":{},"status":{"resourceRules":[{"verbs":["create"],"apiGroups":["authorization.k8s.io"],"resources":["selfsubjectaccessreviews","selfsubjectrulesreviews"]},{"verbs":["*"],"apiGroups":["*"],"resources":["secrets","configmaps","serviceaccounts","endpoints","events","pods","pods/log","pods/portforward","podtemplates","resourcequotas","limitranges","services","replicationcontrollers","daemonsets","deployments","replicasets","statefulsets","cronjobs","jobs","persistentvolumeclaims","ingresses","networkpolicies","poddisruptionbudgets"]}],"nonResourceRules":[{"verbs":["get"],"nonResourceURLs":["/healthz","/livez","/readyz","/version","/version/"]},{"verbs":["get"],"nonResourceURLs":["/api","/api/*","/apis","/apis/*","/healthz","/livez","/openapi","/openapi/*","/readyz","/version","/version/"]},{"verbs":["get"],"nonResourceURLs":["/.well-known/openid-configuration","/openid/v1/jwks"]}],"incomplete":fals [truncated 4 chars] Resources Non-Resource URLs Resource Names Verbs configmaps.* [] [] [*] cronjobs.* [] [] [*] daemonsets.* [] [] [*] deployments.* [] [] [*] endpoints.* [] [] [*] events.* [] [] [*] ingresses.* [] [] [*] jobs.* [] [] [*] limitranges.* [] [] [*] networkpolicies.* [] [] [*] persistentvolumeclaims.* [] [] [*] poddisruptionbudgets.* [] [] [*] pods.*/log [] [] [*] pods.*/portforward [] [] [*] pods.* [] [] [*] podtemplates.* [] [] [*] replicasets.* [] [] [*] replicationcontrollers.* [] [] [*] resourcequotas.* [] [] [*] secrets.* [] [] [*] serviceaccounts.* [] [] [*] services.* [] [] [*] statefulsets.* [] [] [*] selfsubjectaccessreviews.authorization.k8s.io [] [] [create] selfsubjectrulesreviews.authorization.k8s.io [] [] [create] [/.well-known/openid-configuration] [] [get] [/api/*] [] [get] [/api] [] [get] [/apis/*] [] [get] [/apis] [] [get] [/healthz] [] [get] [/healthz] [] [get] [/livez] [] [get] [/livez] [] [get] [/openapi/*] [] [get] [/openapi] [] [get] [/openid/v1/jwks] [] [get] [/readyz] [] [get] [/readyz] [] [get] [/version/] [] [get] [/version/] [] [get] [/version] [] [get] [/version] [] [get]
|