Skip to content

Commit

Permalink
Fix: add nonResourcePath into abac policy config (tkestack#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
yadzhang committed Feb 13, 2020
1 parent a1aeb65 commit 684df86
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ metadata:
namespace: tke
data:
abac-policy.json: |
{"apiVersion":"abac.authorization.kubernetes.io/v1beta1","kind":"Policy","spec":{"user":"system:*","namespace":"*", "resource":"*","apiGroup":"*", "group": "*"}}
{"apiVersion":"abac.authorization.kubernetes.io/v1beta1","kind":"Policy","spec":{"user":"system:*","namespace":"*", "resource":"*","apiGroup":"*", "group": "*", "nonResourcePath":"*"}}
tke-auth-api.toml: |
[secure_serving]
tls_cert_file = "/app/certs/server.crt"
Expand Down

0 comments on commit 684df86

Please sign in to comment.