Merge pull request #7816 from ninjadq/fix_typo_of_azure

fix typo of azure config
This commit is contained in:
Qian Deng 2019-05-16 10:53:22 +08:00 committed by GitHub
commit f4ac7f9b4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ def prepare_chartmuseum(config_dict):
if storage_provider_config_map.get("keyfile"): if storage_provider_config_map.get("keyfile"):
storage_provider_config_options.append('GOOGLE_APPLICATION_CREDENTIALS=%s' % '/etc/chartserver/gcs.key') storage_provider_config_options.append('GOOGLE_APPLICATION_CREDENTIALS=%s' % '/etc/chartserver/gcs.key')
elif storage_provider_name == 'gcs': elif storage_provider_name == 'azure':
# azure storage # azure storage
storage_driver = "microsoft" storage_driver = "microsoft"
storage_provider_config_options.append("STORAGE_MICROSOFT_CONTAINER=%s" % ( storage_provider_config_map.get("container") or '') ) storage_provider_config_options.append("STORAGE_MICROSOFT_CONTAINER=%s" % ( storage_provider_config_map.get("container") or '') )