cinder-backup: Ensure ca cert is defined when tls-proxy is enabled
Change-Id: Id679eb7061d8e609ce76fbb5b720a041990e8e86
This commit is contained in:
parent
487057de80
commit
c20cd8ed9d
@ -24,6 +24,9 @@ function configure_cinder_backup_swift {
|
|||||||
# to use it.
|
# to use it.
|
||||||
iniset $CINDER_CONF DEFAULT backup_driver "cinder.backup.drivers.swift.SwiftBackupDriver"
|
iniset $CINDER_CONF DEFAULT backup_driver "cinder.backup.drivers.swift.SwiftBackupDriver"
|
||||||
iniset $CINDER_CONF DEFAULT backup_swift_url "$SWIFT_SERVICE_PROTOCOL://$SERVICE_HOST:$SWIFT_DEFAULT_BIND_PORT/v1/AUTH_"
|
iniset $CINDER_CONF DEFAULT backup_swift_url "$SWIFT_SERVICE_PROTOCOL://$SERVICE_HOST:$SWIFT_DEFAULT_BIND_PORT/v1/AUTH_"
|
||||||
|
if is_service_enabled tls-proxy; then
|
||||||
|
iniset $CINDER_CONF DEFAULT backup_swift_ca_cert_file $SSL_BUNDLE_FILE
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# init_cinder_backup_swift: nothing to do
|
# init_cinder_backup_swift: nothing to do
|
||||||
|
Loading…
Reference in New Issue
Block a user