Skip to content

Commit ffb5e50

Browse files
committed
(elqui) fix ownership of rubinobs-butler-* buckets
1 parent 4666144 commit ffb5e50

11 files changed

+32
-49
lines changed

fleet/lib/rook-ceph-conf/charts/elqui/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/elqui/templates/obc-rubinobs-butler-comcam.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
apiVersion: objectbucket.io/v1alpha1
33
kind: ObjectBucketClaim
44
metadata:
5-
name: rubinobs-butler-comcam
5+
name: &name rubinobs-butler-comcam
66
namespace: rook-ceph
77
spec:
8-
bucketName: rubinobs-butler-comcam
8+
bucketName: *name
99
storageClassName: lfa
1010
additionalConfig:
11-
bucketOwner: comcam
11+
bucketOwner: butler
1212
bucketMaxSize: 20Ti
1313
bucketPolicy: |
1414
{
@@ -60,14 +60,6 @@ spec:
6060
"AbortIncompleteMultipartUpload": {
6161
"DaysAfterInitiation": 1
6262
}
63-
},
64-
{
65-
"ID": "ExpireAfter30Days",
66-
"Status": "Enabled",
67-
"Prefix": "",
68-
"Expiration": {
69-
"Days": 90
70-
}
7163
}
7264
]
7365
}

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

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
apiVersion: objectbucket.io/v1alpha1
33
kind: ObjectBucketClaim
44
metadata:
5-
name: rubinobs-butler-latiss
5+
name: &name rubinobs-butler-latiss
66
namespace: rook-ceph
77
spec:
8-
bucketName: rubinobs-butler-latiss
8+
bucketName: *name
99
storageClassName: lfa
1010
additionalConfig:
11-
bucketOwner: latiss
11+
bucketOwner: butler
1212
bucketMaxSize: 10Ti
1313
bucketPolicy: |
1414
{
@@ -60,14 +60,6 @@ spec:
6060
"AbortIncompleteMultipartUpload": {
6161
"DaysAfterInitiation": 1
6262
}
63-
},
64-
{
65-
"ID": "ExpireAfter30Days",
66-
"Status": "Enabled",
67-
"Prefix": "",
68-
"Expiration": {
69-
"Days": 90
70-
}
7163
}
7264
]
7365
}

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

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
apiVersion: objectbucket.io/v1alpha1
33
kind: ObjectBucketClaim
44
metadata:
5-
name: rubinobs-butler-lsstcam
5+
name: &name rubinobs-butler-lsstcam
66
namespace: rook-ceph
77
spec:
8-
bucketName: rubinobs-butler-lsstcam
8+
bucketName: *name
99
storageClassName: lfa
1010
additionalConfig:
11-
bucketOwner: lsstcam
11+
bucketOwner: butler
1212
bucketMaxSize: 2.5Pi
1313
bucketPolicy: |
1414
{
@@ -61,14 +61,6 @@ spec:
6161
"AbortIncompleteMultipartUpload": {
6262
"DaysAfterInitiation": 1
6363
}
64-
},
65-
{
66-
"ID": "ExpireAfter30Days",
67-
"Status": "Enabled",
68-
"Prefix": "",
69-
"Expiration": {
70-
"Days": 90
71-
}
7264
}
7365
]
7466
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
apiVersion: objectbucket.io/v1alpha1
33
kind: ObjectBucketClaim
44
metadata:
5-
name: rubinobs-calibrations
5+
name: &name rubinobs-calibrations
66
namespace: rook-ceph
77
spec:
8-
bucketName: rubinobs-calibrations
8+
bucketName: *name
99
storageClassName: lfa
1010
additionalConfig:
1111
bucketOwner: calib

fleet/lib/rook-ceph-conf/charts/elqui/templates/obc-rubinobs-lfa-cp.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
apiVersion: objectbucket.io/v1alpha1
33
kind: ObjectBucketClaim
44
metadata:
5-
name: rubinobs-lfa-cp
5+
name: &name rubinobs-lfa-cp
66
namespace: rook-ceph
77
spec:
8-
bucketName: rubinobs-lfa-cp
8+
bucketName: *name
99
storageClassName: lfa
1010
additionalConfig:
1111
bucketOwner: saluser

fleet/lib/rook-ceph-conf/charts/elqui/templates/obc-rubinobs-raw-comcam.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
apiVersion: objectbucket.io/v1alpha1
33
kind: ObjectBucketClaim
44
metadata:
5-
name: rubinobs-raw-comcam
5+
name: &name rubinobs-raw-comcam
66
namespace: rook-ceph
77
labels:
88
bucket-notification-lsst.s3.raw.comcam: lsst.s3.raw.comcam
99
spec:
10-
bucketName: rubinobs-raw-comcam
10+
bucketName: *name
1111
storageClassName: lfa
1212
additionalConfig:
1313
bucketOwner: comcam

fleet/lib/rook-ceph-conf/charts/elqui/templates/obc-rubinobs-raw-latiss.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
apiVersion: objectbucket.io/v1alpha1
33
kind: ObjectBucketClaim
44
metadata:
5-
name: rubinobs-raw-latiss
5+
name: &name rubinobs-raw-latiss
66
namespace: rook-ceph
77
labels:
88
bucket-notification-lsst.s3.raw.latiss: lsst.s3.raw.latiss
99
spec:
10-
bucketName: rubinobs-raw-latiss
10+
bucketName: *name
1111
storageClassName: lfa
1212
additionalConfig:
1313
bucketOwner: latiss

fleet/lib/rook-ceph-conf/charts/elqui/templates/obc-rubinobs-raw-lsstcam.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
apiVersion: objectbucket.io/v1alpha1
33
kind: ObjectBucketClaim
44
metadata:
5-
name: rubinobs-raw-lsstcam
5+
name: &name rubinobs-raw-lsstcam
66
namespace: rook-ceph
77
labels:
88
bucket-notification-lsst.s3.raw.lsstcam: lsst.s3.raw.lsstcam
99
spec:
10-
bucketName: rubinobs-raw-lsstcam
10+
bucketName: *name
1111
storageClassName: lfa
1212
additionalConfig:
1313
bucketOwner: lsstcam

fleet/lib/rook-ceph-conf/charts/elqui/templates/obc-rubintv.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
apiVersion: objectbucket.io/v1alpha1
33
kind: ObjectBucketClaim
44
metadata:
5-
name: rubintv
5+
name: &name rubintv
66
namespace: rook-ceph
77
spec:
8-
bucketName: rubintv
8+
bucketName: *name
99
storageClassName: lfa
1010
additionalConfig:
1111
bucketOwner: rubintv

0 commit comments

Comments
 (0)