mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-17 15:55:26 +01:00
Merge pull request #11734 from ninjadq/fix_chart_absolute_url
Fix chart museum absolute url issue
This commit is contained in:
commit
0c01484489
@ -249,7 +249,10 @@ def parse_yaml_config(config_file_path, with_notary, with_clair, with_trivy, wit
|
||||
|
||||
# Chart configs
|
||||
chart_configs = configs.get("chart") or {}
|
||||
config_dict['chart_absolute_url'] = chart_configs.get('absolute_url') or ''
|
||||
if chart_configs.get('absolute_url') == 'enabled':
|
||||
config_dict['chart_absolute_url'] = True
|
||||
else:
|
||||
config_dict['chart_absolute_url'] = False
|
||||
|
||||
# jobservice config
|
||||
js_config = configs.get('jobservice') or {}
|
||||
|
Loading…
Reference in New Issue
Block a user