Skip to content

[velero] Support for Multiple Secrets - #713

Open
Footur wants to merge 1 commit into
vmware-tanzu:mainfrom
Footur:improve-secrets
Open

Footur wants to merge 1 commit into
vmware-tanzu:mainfrom
Footur:improve-secrets

Conversation

@Footur

@Footur Footur commented Sep 25, 2025 •

Copy link
Copy Markdown

Special notes for your reviewer:

  • Bump chart version from 11.0.0 to 12.0.0
  • Replace secretContents with extraSecrets array to allow multiple secrets
  • Update templates to handle new credentials format
  • Update README with instructions for upgrading and securing Restic passwords
  • Adjust test values to match new secret structure
  • Move secret env vars to helper template

Fixes #268

Checklist

  • DCO signed
  • Chart Version bumped, please refer to the chart version instruction
  • Variables are documented in the values.yaml or README.md
  • Title of the PR starts with chart name (e.g. [velero])

@Footur Footur changed the title [velero] Update Velero Helm chart to v11.0.0 [velero] Support for Multiple Secrets Sep 25, 2025
@Footur
Footur force-pushed the improve-secrets branch 9 times, most recently from 9cae19d to 83ecc3b Compare October 1, 2025 14:46
- Bump chart version from 11.0.0 to 12.0.0
- Replace `secretContents` with `extraSecrets` array to allow multiple secrets
- Update templates to handle new credentials format
- Update README with instructions for upgrading and securing Restic passwords
- Adjust test values to match new secret structure
- Move secret env vars to helper template

Signed-off-by: Footur <3769085+Footur@users.noreply.github.com>
@Footur

Footur commented Oct 7, 2025

Copy link
Copy Markdown
Author

Hello @jenting, hello @ywk253100, can you tell me what needs to be done to get this pull request merged please?

@Kajot-dev

Copy link
Copy Markdown
Contributor

Is it a good idea to even allow to specify secret values in plain text? Besides you can easily add secrets via .Values.extraObjects and then reference them in BackupStorageLocation. As for Restic/Kopia password I guess you can also use .Values.extraObjects, but I think is meant to be deployed outside of the chart

@Footur

Footur commented Oct 8, 2025

Copy link
Copy Markdown
Author

Is it a good idea to even allow to specify secret values in plain text?

No, you should use tools like SOPS to encrypt your secrets in configuration.

Besides you can easily add secrets via .Values.extraObjects and then reference them in BackupStorageLocation. As for Restic/Kopia password I guess you can also use .Values.extraObjects, but I think is meant to be deployed outside of the chart

If you use .Values.extraObjects, these objects are missing the generated annotations by Helm then.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add possibility to customize the velero-restic-credentials

2 participants