Skip to content

Commit 12915fb

Browse files
committed
cross-backups: Add sdelrio bucket
1 parent 0ac5c3b commit 12915fb

File tree

2 files changed

+32
-3
lines changed

2 files changed

+32
-3
lines changed

apps/cross-backups/templates/external-secrets-users.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,7 @@ spec:
2626
remoteRef:
2727
key: /cross-backup/users
2828
property: dabolPassword
29+
- secretKey: sdelrioPassword
30+
remoteRef:
31+
key: /cross-backup/users
32+
property: sdelrioPassword

apps/cross-backups/values.yaml

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,25 @@ minio:
103103
- "s3:GetBucketLocation"
104104
- "s3:ListBucket"
105105
- "s3:ListBucketMultipartUploads"
106+
- name: sdelrioReadWritePolicy
107+
statements:
108+
- effect: Allow
109+
resources:
110+
- 'arn:aws:s3:::sdelrio/*'
111+
actions:
112+
- "s3:AbortMultipartUpload"
113+
- "s3:GetObject"
114+
- "s3:DeleteObject"
115+
- "s3:PutObject"
116+
- "s3:ListMultipartUploadParts"
117+
- resources:
118+
- 'arn:aws:s3:::sdelrio/'
119+
actions:
120+
- "s3:CreateBucket"
121+
- "s3:DeleteBucket"
122+
- "s3:GetBucketLocation"
123+
- "s3:ListBucket"
124+
- "s3:ListBucketMultipartUploads"
106125
users:
107126
- accessKey: milla
108127
existingSecret: cross-backups-users
@@ -112,6 +131,10 @@ minio:
112131
existingSecret: cross-backups-users
113132
existingSecretKey: dabolPassword
114133
policy: dabolReadWritePolicy
134+
- accessKey: sdelrio
135+
existingSecret: cross-backups-users
136+
existingSecretKey: sdelrioPassword
137+
policy: sdelrioReadWritePolicy
115138
## Username, password and policy to be assigned to the user
116139
## Default policies are [readonly|readwrite|writeonly|consoleAdmin|diagnostics]
117140
## Add new policies as explained here https://min.io/docs/minio/kubernetes/upstream/administration/identity-access-management.html#access-management
@@ -136,10 +159,12 @@ minio:
136159
versioning: false
137160
objectlocking: false
138161
- name: dabol
139-
# Policy to be set on the
140-
# bucket [none|download|upload|public]
141162
policy: none
142-
# Purge if bucket exists already
163+
purge: false
164+
versioning: false
165+
objectlocking: false
166+
- name: sdelrio
167+
policy: none
143168
purge: false
144169
versioning: false
145170
objectlocking: false

0 commit comments

Comments
 (0)