Created
March 11, 2018 13:04
-
-
Save levlas/c956099b7c9753decf5d97d8a7cb26dd to your computer and use it in GitHub Desktop.
Error was returned by GKE when I tried to create a new role for fluentbit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error from server (Forbidden): | |
error when creating "https://raw.githubusercontent.com/fluent/fluent-bit-kubernetes-logging/master/fluent-bit-role.yaml": | |
clusterroles.rbac.authorization.k8s.io "fluent-bit-read" is forbidden: | |
attempt to grant extra privileges: | |
[PolicyRule{Resources:["namespaces"], APIGroups:[""], Verbs:["get"]} | |
PolicyRule{Resources:["namespaces"], APIGroups:[""], Verbs:["list"]} | |
PolicyRule{Resources:["namespaces"], APIGroups:[""], Verbs:["watch"]} | |
PolicyRule{Resources:["pods"], APIGroups:[""], Verbs:["get"]} | |
PolicyRule{Resources:["pods"], APIGroups:[""], Verbs:["list"]} | |
PolicyRule{Resources:["pods"], APIGroups:[""], Verbs:["watch"]}] | |
user=&{userName@example.com [system:authenticated] map[authenticator:[GKE]]} | |
ownerrules=[PolicyRule{Resources:["selfsubjectaccessreviews" "selfsubjectrulesreviews"], | |
APIGroups:["authorization.k8s.io"], Verbs:["create"]} | |
PolicyRule{NonResourceURLs:["/api" "/api/*" "/apis" "/apis/*" "/healthz" "/swagger-2.0.0.pb-v1" "/swagger.json" | |
"/swaggerapi" "/swaggerapi/*" "/version"], Verbs:["get"]}] | |
ruleResolutionErrors=[] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment