-
Notifications
You must be signed in to change notification settings - Fork 190
feat(plugins): allow plugin defintion #680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
ef1fe69 to
fff1e84
Compare
…ugin Signed-off-by: Philipp Hamann <84906475+pha91@users.noreply.github.com>
fff1e84 to
3118f67
Compare
| limits: | ||
| cpu: 100m | ||
| memory: 256Mi | ||
| memory: 256Mi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trailing spaces after memory: 256Mi
Signed-off-by: Philipp Hamann <84906475+pha91@users.noreply.github.com>
Signed-off-by: Philipp Hamann <84906475+pha91@users.noreply.github.com>
|
As far as I can see, the new |
|
Added the retentionPolicy to the ObjectStore. Thanks @Const-antine for the reminder |
Signed-off-by: Philipp Hamann <84906475+pha91@users.noreply.github.com>
5a84d88 to
0289e16
Compare
|
@itay-grudev Is there anything pending on this PR? |
|
I tried out the PR with such a values file: It worked. One thing though, I was not able to use (but that's not so important). To make it work I had to use together with It seems (I used Regarding the software design: I haven't really thought it through yet, but maybe it would be better to store the S3 configurations under under |
|
Hi @eriksjolund, As a parameter in the plugin definiton section or in the barmanObjectStore config? The idea was to use that config in the BarmanObjectStore CRD and reference this object in the plugin like documented here: Defining ObjectStore |
|
I have one configuration that is working fine: The cluster, scheduledbackup and the backup are created just fine. As a test I wanted to see if there is a way to modify to My idea was to add: % diff -U6 -u ~/values.yaml ~/values2.yaml
--- /Users/myuser/values.yaml 2025-11-03 16:58:22
+++ /Users/myuser/values2.yaml 2025-11-24 15:16:12
@@ -37,17 +37,20 @@
backups:
enabled: true
endpointURL: "https://s3.example.com"
destinationPath: "s3://mybucket/testcnpg"
provider: s3
+ s3:
+ accessKey: "AWS_ACCESS_KEY_ID"
+ secretKey: "AWS_SECRET_ACCESS_KEY"
secret:
# -- Whether to create a secret for the backup credentials
create: false
# -- Name of the backup credentials secret
name: netapp-s3-creds
scheduledBackups:
- name: daily-backup
schedule: "0 2 14 * * *"
# -- Retention policy for backupsWhen I tried it out, the backup failed with the error message For details, see this command (I don't know if it should be possible change the names in the secret) |
|
@itay-grudev do you need any other features or informations to merge this PR? |
Allow to add plugins to the Cluster definition fixes #634
Prepare migration to the new Barman Cloud Plugin including the ObjectStore.