update gitea role - separate external db values
This commit is contained in:
parent
131a1acc84
commit
cb137fb890
@ -69,7 +69,10 @@ gitea_default_values:
|
||||
USER: "{{ gitea_ldap_user | default('gitea') }}"
|
||||
PASSWD: "{{ gitea_ldap_pass | default(gitea_ldap_password) }}"
|
||||
MAILER_TYPE: "smtp"
|
||||
|
||||
|
||||
gitea_external_db_values:
|
||||
gitea:
|
||||
config:
|
||||
database:
|
||||
DB_TYPE: postgres
|
||||
HOST: "{{ postgres_db_team | default(namespace) }}-postgres.{{ postgres_db_namespace | default(namespace) }}.svc.cluster.local:5432"
|
||||
|
@ -7,6 +7,10 @@
|
||||
- set_fact:
|
||||
gitea_combined_values: "{{ gitea_default_values | combine(gitea_values, recursive=true) }}"
|
||||
|
||||
- set_fact:
|
||||
gitea_combined_values: "gitea_combined_values | combine(gitea_external_db_values, recursive=true) }}"
|
||||
when: gitea_use_external_db
|
||||
|
||||
- set_fact:
|
||||
gitea_dns_combined_values: "{{ gitea_dns_default_values | combine(gitea_dns_values, recursive=true) }}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user