mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-03-09 12:12:21 +01:00
Compare commits
3 Commits
1185df0e91
...
85700c0221
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
85700c0221 | ||
|
|
f12c978732 | ||
|
|
78d02d6803 |
10
CONTRIBUTING.md
Normal file
10
CONTRIBUTING.md
Normal file
@ -0,0 +1,10 @@
|
||||
# Contributing to CloudNativePG
|
||||
|
||||
Thank you for your interest in contributing! 💖
|
||||
|
||||
To ensure consistency across the project, all CloudNativePG repositories follow
|
||||
a common set of guidelines regarding code of conduct, AI usage, and
|
||||
contribution workflows.
|
||||
|
||||
Please review the [CloudNativePG Project contributing guidelines](https://github.com/cloudnative-pg/governance/blob/main/CONTRIBUTING.md)
|
||||
before searching for issues, reporting bugs, or submitting a pull request.
|
||||
@ -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
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
Barman Cloud uploads backup files to S3 but does not modify them afterward.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user