在OPA图表的values.yaml文件中,我必须使用以下部分激活 RBAC:
# NOTE IF you use these, remember to update the RBAC rules below to allow
# permissions to get, list, watch, patch and update configmaps
enabled: false
namespaces: [opa, kube-federation-scheduling-policy]
requireLabel: true
replicate:
# NOTE IF you use these, remember to update the RBAC rules below to allow
# permissions to replicate these things
cluster: []
# - [group/]version/resource
namespace: []
# - [group/]version/resource
path: kubernetes
如上所述,我必须在种类configmap中添加动词: get、list、watch、patch 和 update。
不幸的是,我不知道如何使它们适合 yaml ......
我不明白以下语法:
cluster: []
# - [group/]version/resource
namespace: []
# - [group/]version/resource
path: kubernetes
但我想动词以某种方式适合那里......