diff --git a/roles/odoo/defaults/main.yml b/roles/odoo/defaults/main.yml index bef9bad..9d6c6d6 100644 --- a/roles/odoo/defaults/main.yml +++ b/roles/odoo/defaults/main.yml @@ -18,7 +18,6 @@ _odoo_memory_request: 512Mi _odoo_postgresql_database_name: "MASTER" _odoo_postgresql_defaultdb: postgres _odoo_postgresql_port: 5432 -_odoo_postgresql_service_name: postgresql _odoo_postgresql_user: odoo _odoo_server_wide_modules: web,monitoring_status _odoo_smtp_password: YWRtaW4= diff --git a/roles/odoo/templates/odoo_deployment_config.j2 b/roles/odoo/templates/odoo_deployment_config.j2 index 24edfb3..4dbe150 100644 --- a/roles/odoo/templates/odoo_deployment_config.j2 +++ b/roles/odoo/templates/odoo_deployment_config.j2 @@ -31,7 +31,7 @@ spec: imagePullPolicy: IfNotPresent env: - name: PGHOST - value: "{{ _odoo_postgresql_service_name }}" + value: "{{ _odoo_name }}-postgresql" - name: PGPORT value: "{{ _odoo_postgresql_port }}" - name: PGUSER