feat(openstack): just use FOG_OPENSTACK_URL

We don't need introducing a new env var for this.
This commit is contained in:
Pierre de La Morinerie 2022-02-09 12:53:21 +01:00
parent 36f8a582ed
commit 56461c6614
2 changed files with 3 additions and 4 deletions

View file

@ -28,9 +28,8 @@ BASIC_AUTH_ENABLED="disabled"
BASIC_AUTH_USERNAME=""
BASIC_AUTH_PASSWORD=""
# Object Storage for attachments. Used if STORAGE_TYPE is not "local"
STORAGE_TYPE="openstack"
FOG_OPENSTACK_AUTH_URL="https://auth.cloud.ovh.net"
# Object Storage for attachments
FOG_ENABLED="disabled"
FOG_OPENSTACK_API_KEY=""
FOG_OPENSTACK_USERNAME=""
FOG_OPENSTACK_URL=""

View file

@ -8,7 +8,7 @@ openstack:
service: OpenStack
container: "<%= ENV['FOG_ACTIVESTORAGE_DIRECTORY'] %>"
credentials:
openstack_auth_url: "<%= ENV['FOG_OPENSTACK_AUTH_URL'] %>"
openstack_auth_url: "<%= ENV['FOG_OPENSTACK_URL'] %>"
openstack_api_key: "<%= ENV['FOG_OPENSTACK_API_KEY'] %>"
openstack_username: "<%= ENV['FOG_OPENSTACK_USERNAME'] %>"
openstack_region: "<%= ENV['FOG_OPENSTACK_REGION'] %>"