mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-05 00:23:33 +01:00
bb66358df8
* Fix migration script 1. port is string when parsed from configparser 2. remove index and db_user in if condition Signed-off-by: Qian Deng <dengq@vmware.com> * Add port to public_url Add port to public_url Signed-off-by: Qian Deng <dengq@vmware.com> * Customized value for notary and clair db config in notary and clair is hardcoded Signed-off-by: Qian Deng <dengq@vmware.com> * Add notary and clair db config in harbor.yml Add notary clair config to harbor.yml and fix related regression Signed-off-by: Qian Deng <dengq@vmware.com>
28 lines
759 B
Django/Jinja
28 lines
759 B
Django/Jinja
{
|
|
"server": {
|
|
"http_addr": ":4443"
|
|
},
|
|
"trust_service": {
|
|
"type": "remote",
|
|
"hostname": "notarysigner",
|
|
"port": "7899",
|
|
"tls_ca_file": "./notary-signer-ca.crt",
|
|
"key_algorithm": "ecdsa"
|
|
},
|
|
"logging": {
|
|
"level": "debug"
|
|
},
|
|
"storage": {
|
|
"backend": "postgres",
|
|
"db_url": "postgres://{{notary_server_db_username}}:{{notary_server_db_password}}@{{notary_server_db_host}}:{{notary_server_db_port}}/{{notary_server_db_name}}?sslmode={{notary_server_db_sslmode}}"
|
|
},
|
|
"auth": {
|
|
"type": "token",
|
|
"options": {
|
|
"realm": "{{token_endpoint}}/service/token",
|
|
"service": "harbor-notary",
|
|
"issuer": "harbor-token-issuer",
|
|
"rootcertbundle": "/etc/notary/root.crt"
|
|
}
|
|
}
|
|
} |