mirror of https://github.com/kubernetes/kops.git
Revert "Revert "Restrict master access to state store bucket""
This reverts commit c11a370c9a.
This commit is contained in:
parent
4608ef57ef
commit
4df50773c1
|
|
@ -24,7 +24,8 @@
|
||||||
"Resource": [
|
"Resource": [
|
||||||
{{ range $i, $b := .MasterPermissions.S3Buckets }}
|
{{ range $i, $b := .MasterPermissions.S3Buckets }}
|
||||||
{{if $i}},{{end}}
|
{{if $i}},{{end}}
|
||||||
"{{ IAMPrefix }}:s3:::{{ $b }}/*"
|
"{{ IAMPrefix }}:s3:::{{ $b }}/{{ ClusterName }}",
|
||||||
|
"{{ IAMPrefix }}:s3:::{{ $b }}/{{ ClusterName }}/*"
|
||||||
{{ end }}
|
{{ end }}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue