mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-09-06 06:52:21 +02:00
Compare commits
3 Commits
dfa6987016
...
3b22cd68f2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b22cd68f2 | ||
|
|
9967e2caab | ||
|
|
78d02d6803 |
12
CODEOWNERS
12
CODEOWNERS
@ -1,5 +1,9 @@
|
|||||||
# The CODEOWNERS file is used to define individuals or teams that are
|
# This file is generated from componentowners-policy.yaml in
|
||||||
# responsible for code in a repository. For details, please refer to
|
# cloudnative-pg/cnpg-infra — do not hand-edit, propose changes there instead.
|
||||||
# https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/about-code-owners
|
#
|
||||||
|
# Path-scoped rules below always include the repo's own general owners
|
||||||
|
# (the "*" line) in addition to their own specific teams/users, since
|
||||||
|
# CODEOWNERS only honors the LAST matching pattern for a given path —
|
||||||
|
# it does not merge an earlier, less-specific rule into a later one.
|
||||||
|
|
||||||
* @leonardoce @mnencia @gbartolini @fcanovai @armru @NiccoloFei
|
* @cloudnative-pg/plugin-barman-cloud-owners
|
||||||
|
|||||||
@ -103,6 +103,10 @@ As you can see, the contents of `barmanObjectStore` have been copied directly
|
|||||||
under the `configuration` field of the `ObjectStore` resource, using the same
|
under the `configuration` field of the `ObjectStore` resource, using the same
|
||||||
secret references.
|
secret references.
|
||||||
|
|
||||||
|
### IAM Role for Service Account (IRSA)
|
||||||
|
|
||||||
|
If you use IRSA, you need to configure the `ObjectStore` to utilize the correct role as described in the [`Object Store Reference`](object_stores.md#iam-role-for-service-account-irsa).
|
||||||
|
|
||||||
## Step 2: Update the `Cluster` for plugin WAL archiving
|
## Step 2: Update the `Cluster` for plugin WAL archiving
|
||||||
|
|
||||||
Once the `ObjectStore` resource is in place, update the `Cluster` resource as
|
Once the `ObjectStore` resource is in place, update the `Cluster` resource as
|
||||||
|
|||||||
@ -111,6 +111,19 @@ spec:
|
|||||||
[...]
|
[...]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
In addition, configure the `ObjectStore` to inherit permissions from the IAM role referenced in the service account:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
apiVersion: barmancloud.cnpg.io/v1
|
||||||
|
kind: ObjectStore
|
||||||
|
metadata:
|
||||||
|
[...]
|
||||||
|
spec:
|
||||||
|
configuration:
|
||||||
|
s3Credentials:
|
||||||
|
inheritFromIAMRole: true
|
||||||
|
```
|
||||||
|
|
||||||
### S3 Lifecycle Policy
|
### S3 Lifecycle Policy
|
||||||
|
|
||||||
Barman Cloud uploads backup files to S3 but does not modify them afterward.
|
Barman Cloud uploads backup files to S3 but does not modify them afterward.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user