Skip to content

Conversation

austinmarten1
Copy link

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. chart( cluster ) Related to the cluster chart labels Aug 21, 2025
…ds in barmanObjectStore.

Signed-off-by: Austin Marten <[email protected]>
@austinmarten1 austinmarten1 changed the title Add support for additionalCommandArgs and configurable secretKey fiesds in barmanObjectStore. (fixes #653) Add support for additionalCommandArgs and configurable secretKey fields in barmanObjectStore. (fixes #653) Aug 22, 2025
@patstevens4
Copy link

+1

@ncwade
Copy link

ncwade commented Sep 17, 2025

+1

Copy link

@jacob-steward jacob-steward left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

I appreciate exposing the additional functionality via values to save having to fork the chart.

Copy link

@ThisIsntTheWay ThisIsntTheWay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please note that if custom S3 credential key fields are set and a user passes S3 creds directly in the values (such as backups.s3.accessKey and backups.s3.secretKey), the generated secret will still use the hardcoded ACCESS_KEY_ID and ACCESS_SECRET_KEY strings, causing a mismatch in the barman storage config.
The same applies to the recovery S3 secret.

Additionally, this change doesn't impact the barman config when recovery is configured in the chart.
You would need to add the same fields from .Values.backups.secret to .Values.recovery.secret.
(I guess recovery is technically out of scope here, but this would also greatly help my use case 😃)

@austinmarten1
Copy link
Author

Please note that if custom S3 credential key fields are set and a user passes S3 creds directly in the values (such as backups.s3.accessKey and backups.s3.secretKey), the generated secret will still use the hardcoded ACCESS_KEY_ID and ACCESS_SECRET_KEY strings, causing a mismatch in the barman storage config. The same applies to the recovery S3 secret.

Additionally, this change doesn't impact the barman config when recovery is configured in the chart. You would need to add the same fields from .Values.backups.secret to .Values.recovery.secret. (I guess recovery is technically out of scope here, but this would also greatly help my use case 😃)

Helps my use case as well! I can add it in here.

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Sep 22, 2025
Copy link

@ThisIsntTheWay ThisIsntTheWay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, small nitpick about formatting.

Comment on lines 101 to 103
# Definable accessKeyIdField to use (Left blank defaults to ACCESS_KEY_ID)
accessKeyIdField: ""
# Definable accessKeyIdField to use (Left blank defaults to ACCESS_SECRET_KEY)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's have comments be in the format of # -- My comment like the rest to be consistent.

@austinmarten1
Copy link
Author

Looks good, small nitpick about formatting.

Done

Signed-off-by: Austin Marten <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chart( cluster ) Related to the cluster chart size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for additionalCommandArgs and configuratable S3 secret keys.
7 participants