Velero deployments failure - Unable to find Azure /credentials/cloud File

10/4/2019

Deployment Logs::

An error occurred: some backup storage locations are invalid: error getting backup store for location "default": rpc error: code = Unknown desc = error loading environment from AZURE_CREDENTIALS_FILE (/credentials/cloud): open /credentials/cloud: no such file or directory

Installed velero following https://velero.io/docs/v1.1.0/azure-config/

Installed velero with

velero install \
    --provider azure \
    --bucket $BLOB_CONTAINER \
    --secret-file ./credentials-velero \
-- Aceish
azure
azure-aks
backup
kubernetes

1 Answer

10/8/2019

as the error says cannot find the path of the file, changed my approach on specifying the required as environment secrets than specified in documents as here

env: - name: SECRET_USERNAME valueFrom: secretKeyRef: name: mysecret key: username

-- Aceish
Source: StackOverflow