-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #706 from lsst-it/IT-5771/migrate-chonchon-to-elqui
(chonchon,elqui) prepare to migrate s3.cp.lsst.org chonchon -> elqui
- Loading branch information
Showing
12 changed files
with
86 additions
and
112 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 0 additions & 33 deletions
33
fleet/lib/rook-ceph-conf/charts/chonchon/templates/cephobjectstoreuser-oods-latiss.yaml
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
fleet/lib/rook-ceph-conf/charts/chonchon/templates/cephobjectstoreuser-oods-lsstcam.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 8 additions & 6 deletions
14
...templates/cephobjectstoreuser-butler.yaml → .../templates/cephobjectstoreuser-s3lhn.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,37 @@ | ||
--- | ||
# XXX this user should be read-only. E.g.: | ||
# radosgw-admin user create --uid=s3lhn --display-name=s3lhn --max-buckets 0 --op-mask=read ... | ||
apiVersion: ceph.rook.io/v1 | ||
kind: CephObjectStoreUser | ||
metadata: | ||
name: butler | ||
name: s3lhn | ||
namespace: rook-ceph | ||
spec: | ||
store: lfa | ||
clusterNamespace: rook-ceph | ||
quotas: | ||
maxBuckets: 2 | ||
maxBuckets: 0 | ||
--- | ||
apiVersion: external-secrets.io/v1alpha1 | ||
kind: PushSecret | ||
metadata: | ||
name: rook-ceph-object-user-lfa-butler | ||
name: rook-ceph-object-user-lfa-s3lhn | ||
namespace: rook-ceph | ||
spec: | ||
secretStoreRefs: | ||
- kind: ClusterSecretStore | ||
name: onepassword-oods | ||
selector: | ||
secret: | ||
name: rook-ceph-object-user-lfa-butler | ||
name: rook-ceph-object-user-lfa-s3lhn | ||
data: | ||
- match: | ||
secretKey: AccessKey | ||
remoteRef: | ||
remoteKey: butler | ||
remoteKey: s3lhn | ||
property: AWS_ACCESS_KEY_ID | ||
- match: | ||
secretKey: SecretKey | ||
remoteRef: | ||
remoteKey: butler | ||
remoteKey: s3lhn | ||
property: AWS_SECRET_ACCESS_KEY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Lifecycle | ||
|
||
## Lifecycle Policy Configuration | ||
|
||
```bash | ||
aws s3api put-bucket-lifecycle-configuration --region lfa --bucket rubinobs-lfa-cp --ca-bundle /etc/ssl/certs/ca-bundle.crt --endpoint-url https://s3.elqui.cp.lsst.org --lifecycle-configuration file://rubinobs-lfa-cp-lifecycle.json | ||
aws s3api get-bucket-lifecycle-configuration --region lfa --bucket rubinobs-lfa-cp --ca-bundle /etc/ssl/certs/ca-bundle.crt --endpoint-url https://s3.elqui.cp.lsst.org | ||
``` | ||
|
||
## Bucket Policy Configuration | ||
|
||
```bash | ||
aws s3api put-bucket-policy --region lfa --bucket rubinobs-lfa-cp --ca-bundle /etc/ssl/certs/ca-bundle.crt --endpoint-url https://s3.elqui.cp.lsst.org --policy file://rubinobs-lfa-cp-policy.json | ||
aws s3api get-bucket-policy --region lfa --bucket rubinobs-lfa-cp --ca-bundle /etc/ssl/certs/ca-bundle.crt --endpoint-url https://s3.elqui.cp.lsst.org | ||
``` |
File renamed without changes.
File renamed without changes.