mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-25 11:46:43 +01:00
Merge pull request #9276 from das-peter/patch-1
#9174 config migration fails with python error: jinja2.exceptions.UndefinedError: 'chart' is undefined
This commit is contained in:
commit
b8777a7cc3
@ -117,9 +117,11 @@ notification:
|
|||||||
# Maximum retry count for webhook job
|
# Maximum retry count for webhook job
|
||||||
webhook_job_max_retry: 10
|
webhook_job_max_retry: 10
|
||||||
|
|
||||||
|
{% if chart is defined %}
|
||||||
chart:
|
chart:
|
||||||
# Change the value of absolute_url to enabled can enable absolute url in chart
|
# Change the value of absolute_url to enabled can enable absolute url in chart
|
||||||
absolute_url: {{ chart.absolute_url if chart.absolute_url == 'enabled' else 'disabled' }}
|
absolute_url: {{ chart.absolute_url if chart.absolute_url == 'enabled' else 'disabled' }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# Log configurations
|
# Log configurations
|
||||||
log:
|
log:
|
||||||
|
Loading…
Reference in New Issue
Block a user