mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
deploy: add "list" operation to Vault policy
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
fc9b2e5ac5
commit
04586dc733
@ -82,11 +82,11 @@ items:
|
|||||||
# create policy to use keys related to the cluster
|
# create policy to use keys related to the cluster
|
||||||
vault policy write "${CLUSTER_IDENTIFIER}" - << EOS
|
vault policy write "${CLUSTER_IDENTIFIER}" - << EOS
|
||||||
path "secret/data/ceph-csi/*" {
|
path "secret/data/ceph-csi/*" {
|
||||||
capabilities = ["create", "update", "delete", "read"]
|
capabilities = ["create", "update", "delete", "read", "list"]
|
||||||
}
|
}
|
||||||
|
|
||||||
path "secret/metadata/ceph-csi/*" {
|
path "secret/metadata/ceph-csi/*" {
|
||||||
capabilities = ["read", "delete"]
|
capabilities = ["read", "delete", "list"]
|
||||||
}
|
}
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user