diff --git a/ansible/main/templates/home/user/harbor/harbor.yml.j2 b/ansible/main/templates/home/user/harbor/harbor.yml.j2 index ddb1a6ecd5f98ced17504953b031f5e163c0be3c..1189e947d4a95bd9c3a08a3a8abc7f078dc13bb3 100644 --- a/ansible/main/templates/home/user/harbor/harbor.yml.j2 +++ b/ansible/main/templates/home/user/harbor/harbor.yml.j2 @@ -49,8 +49,7 @@ harbor_admin_password: "{{ HARBOR_INIT_PASSWORD }}" # Harbor DB configuration database: - # The password for the root user of Harbor DB. Change this before any production use. - password: "{{ DB_PASSWORD }}" + # The password for the user('postgres' by default) of Harbor DB. Change this before any production use. password: "{{ DB_PASSWORD }}" # The maximum number of connections in the idle connection pool. If it <=0, no idle connections are retained. max_idle_conns: 100 # The maximum number of open connections to the database. If it <= 0, then there is no limit on the number of open connections. @@ -136,6 +135,8 @@ trivy: jobservice: # Maximum number of job workers in job service max_job_workers: 10 + # Maximum hours of task duration in job service, default 24 + max_job_duration_hours: 24 # The jobLoggers backend name, only support "STD_OUTPUT", "FILE" and/or "DB" job_loggers: - STD_OUTPUT @@ -214,6 +215,14 @@ _version: 2.9.1 # # username: # # sentinel_master_set must be set to support redis+sentinel # #sentinel_master_set: +# # tls configuration for redis connection +# # only server-authentication is supported +# # mtls for redis connection is not supported +# # tls connection will be disable by default +# tlsOptions: +# enable: false +# # if it is a self-signed ca, please set the ca path specifically. +# rootCA: # # db_index 0 is for core, it's unchangeable # registry_db_index: 1 # jobservice_db_index: 2 diff --git a/ansible/main/vars/harbor.yaml b/ansible/main/vars/harbor.yaml index 0b96873b0e3e1d3ae0220667590a9c88496a5584..2e0fc0a9262c3e68d20f9d5b2a29b4b7bf3b7f74 100644 --- a/ansible/main/vars/harbor.yaml +++ b/ansible/main/vars/harbor.yaml @@ -61,5 +61,5 @@ sites: maintenance: no maintenance_text: "Under Maintenance!" -harbor_installer_url: https://github.com/goharbor/harbor/releases/download/v2.11.0/harbor-online-installer-v2.11.0.tgz -harbor_dest_file_name: harbor-online-installer-v2.11.0.tgz +harbor_installer_url: https://github.com/goharbor/harbor/releases/download/v2.13.0/harbor-online-installer-v2.13.0.tgz +harbor_dest_file_name: harbor-online-installer-v2.13.0.tgz