v0.3.0
This release updates authentication mechanism to use library gophercloud/utils/clientconfig
which enables us to authenticate using environment variables and files in format clouds.yaml
without adding additional code logic.
From now on the authentication logic is:
- Look for environment variable
OS_CLOUD
.- If this is set, look for
clouds.yaml
files in default locations/etc/openstack/clouds.yaml
,~/.config/openstack/clouds.yaml
and./clouds.yaml
or in custom location specified by environment variableOS_CLIENT_CONFIG_FILE
. - If file exists use the cloud with name same as value in
OS_CLOUD
for authentication toswift
orcinder
. - If
OS_CLOUD
is not set, continue.
- If this is set, look for
- Use special environment variable prefix
OS_SWIFT_*
to authenticate againstswift
(swiftstack compatibility). - Look for environment variables with prefix
OS_*
and use them for authentication toswift
andcinder
.
Changes since v0.2.1
Breaking Changes
- None
Enhancements
- Authentication using
clientconfig
library - Add Velero 1.6.x to compatibility matrix.
- Bump gophercloud to
v0.20.0