From 5918fa5573e3e67cabb28d32c9f1f6c9cb5a5cab Mon Sep 17 00:00:00 2001 From: chris meyers Date: Tue, 27 Feb 2018 11:27:03 -0500 Subject: [PATCH] remove () from postgres port value * awx task container uses postgres port to wait for postgres to become available before the container init continues. The () are problematic and are removed. * () was originally added to fix an openshift issues. That error does NOT occur with this fix. --- installer/openshift/templates/deployment.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/openshift/templates/deployment.yml.j2 b/installer/openshift/templates/deployment.yml.j2 index 2f247d8f56..6414cc5e3d 100644 --- a/installer/openshift/templates/deployment.yml.j2 +++ b/installer/openshift/templates/deployment.yml.j2 @@ -33,7 +33,7 @@ spec: - name: DATABASE_HOST value: {{ pg_hostname|default('postgresql') }} - name: DATABASE_PORT - value: ({{ pg_port|default('5432') }}) + value: {{ pg_port|default(5432) }} - name: DATABASE_PASSWORD value: {{ pg_password }} - name: MEMCACHED_HOST