Skip to content

Commit 4666144

Browse files
committed
(konkong) fix ownership of rubinobs-butler-* buckets
1 parent 62633fe commit 4666144

File tree

5 files changed

+26
-5
lines changed

5 files changed

+26
-5
lines changed

fleet/lib/rook-ceph-conf/charts/konkong/templates/cephobjectstoreuser-extended-ceph-exporter.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
displayName: extended-ceph-exporter
1111
capabilities:
1212
buckets: read
13-
users: read
14-
usage: read
1513
metadata: read
14+
usage: read
15+
users: read
1616
zone: read

fleet/lib/rook-ceph-conf/charts/konkong/templates/obc-rubinobs-butler-latiss.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spec:
88
bucketName: *name
99
storageClassName: lfa
1010
additionalConfig:
11-
bucketOwner: latiss
11+
bucketOwner: butler
1212
bucketMaxSize: 1Ti
1313
bucketPolicy: |
1414
{

fleet/lib/rook-ceph-conf/charts/konkong/templates/obc-rubinobs-butler-lsstcam.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spec:
88
bucketName: *name
99
storageClassName: lfa
1010
additionalConfig:
11-
bucketOwner: lsstcam
11+
bucketOwner: butler
1212
bucketMaxSize: 34Ti
1313
bucketPolicy: |
1414
{

fleet/lib/rook-ceph-conf/charts/konkong/templates/obc-rubinobs-calibrations.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,21 @@ spec:
4343
"arn:aws:s3:::rubinobs-calibrations",
4444
"arn:aws:s3:::rubinobs-calibrations/*"
4545
]
46+
},
47+
{
48+
"Effect": "Allow",
49+
"Principal": {
50+
"AWS": "arn:aws:iam:::user/oods-lsstcam"
51+
},
52+
"Action": [
53+
"s3:GetObject",
54+
"s3:ListBucket",
55+
"s3:GetBucketLocation"
56+
],
57+
"Resource": [
58+
"arn:aws:s3:::rubinobs-calibrations",
59+
"arn:aws:s3:::rubinobs-calibrations/*"
60+
]
4661
}
4762
]
4863
}

fleet/lib/rook-ceph-conf/charts/konkong/values.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ users:
88
- name: calib
99
spec:
1010
store: lfa
11+
quotas:
12+
maxBuckets: 1
1113
- name: latiss
1214
spec:
1315
store: lfa
@@ -21,9 +23,13 @@ users:
2123
- name: oods-latiss
2224
spec:
2325
store: lfa
26+
quotas:
27+
maxBuckets: 0
2428
- name: oods-lsstcam
2529
spec:
2630
store: lfa
31+
quotas:
32+
maxBuckets: 0
2733
- name: rubintv
2834
spec:
2935
store: lfa
@@ -33,4 +39,4 @@ users:
3339
spec:
3440
store: lfa
3541
quotas:
36-
maxBuckets: 2
42+
maxBuckets: 1

0 commit comments

Comments
 (0)