mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 02:05:41 +01:00
Fix chart museum absolute url issue
if absolute url is enabled return true else set it to false Signed-off-by: DQ <dengq@vmware.com>
This commit is contained in:
parent
257924856c
commit
026e37e777
@ -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