Prepare services for lego certificate service

This commit is contained in:
Tobias Reisinger 2023-12-20 01:29:53 +01:00
parent 6c6ade1b9a
commit da5d6eef8c
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
8 changed files with 28 additions and 9 deletions
roles/harbor/vars

View file

@ -36,8 +36,8 @@ harbor_yml:
port: "{{ harbor_port_http }}"
https:
port: "{{ harbor_port_https }}"
certificate: /opt/services/.lego/certificates/registry.serguzim.me.crt # TODO
private_key: /opt/services/.lego/certificates/registry.serguzim.me.key # TODO
certificate: "{{ (service_path, 'server.crt') | path_join }}"
private_key: "{{ (service_path, 'server.key') | path_join }}"
external_url: https://registry.serguzim.me
harbor_admin_password: "{{ vault_harbor.admin_password }}"
data_volume: "{{ (service_path, 'data') | path_join }}"