-
Notifications
You must be signed in to change notification settings - Fork 362
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
backupstoragelocation can't be completely configured via Helm #294
Comments
In general, when I deploy Velero, I'll prepare the helm install velero \
...
--set-file credentials.secretContents.cloud=credentials-velero \
--- Or, you could use the pre-existing secret key, you could use https://github.com/vmware-tanzu/helm-charts/blob/velero-2.23.3/charts/velero/values.yaml#L273. Or, you could specify it in https://github.com/vmware-tanzu/helm-charts/blob/velero-2.23.3/charts/velero/values.yaml#L282-L287. |
I think what he's saying is, entries here https://github.com/vmware-tanzu/helm-charts/blob/velero-2.23.3/charts/velero/values.yaml#L273 don't get applied to https://github.com/vmware-tanzu/helm-charts/blob/velero-2.23.6/charts/velero/templates/backupstoragelocation.yaml . I have the
The credential exists and is mounted to the pods however:
|
Btw, for what it's worth, the issue I was having that led me here, actually had nothing to do with the credentials not being attached to the backupstoragelocation. I got my backups working without that being set, which kinda leads me to believe that the troubleshooting steps https://velero.io/docs/v1.6/troubleshooting/#troubleshooting-backupstoragelocation-credentials are incorrect, as it works just fine without those creds being set there. |
Seeing a similar issue as above. If we set velero
|
I couldn't get it working iwth
It worked when I changed the
|
🤔 Probably the error in the plugin's README. |
Push for that one - it still seems to be an issue! Also take a look at #6601. |
I'm installing velero using the helm chart https://github.com/vmware-tanzu/helm-charts/releases/tag/velero-2.23.3 with Minio as the backing S3 service.
The backupstoragelocation was never progressing to the
Available
phase and backups were failing. I looked at this documentation: https://velero.io/docs/v1.6/troubleshooting/#is-velero-using-the-correct-cloud-credentials, under the Troubleshooting BackupStorageLocation credentials header, regarding the.spec.credential.key
and.spec.credential.name
fields. So I hand-patched those into thebackupstoragelocation
in the cluster with valuescloud
andcloud-credentials
respectively and suddenly everything worked. (I was already patching in thecaCert
field.)Problem is, the helm chart does not appear to provide a way to do that. The
backupstoragelocation.yaml
in the templates directory and thevalues.yaml
do not appear to have have a way to specify this, so it looks like I need to patch it after the chart deploys. Do you think I'm missing something?Thanks.
The text was updated successfully, but these errors were encountered: