Skip to content

Commit

Permalink
Pass the postgres service host as DATABASE_SERVICE_NAME
Browse files Browse the repository at this point in the history
We don't pass DATABASE_SERVICE_NAME into the manageiq pods any more
  • Loading branch information
carbonin committed Dec 21, 2017
1 parent 7c72872 commit f7104f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/embedded_ansible/container_embedded_ansible.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def container_environment

[
{:name => "RABBITMQ_USER_NAME", :value => rabbit_auth.userid},
{:name => "DATABASE_SERVICE_NAME", :value => ENV["DATABASE_SERVICE_NAME"]},
{:name => "DATABASE_SERVICE_NAME", :value => ENV["POSTGRESQL_SERVICE_HOST"]},
{:name => "POSTGRESQL_DATABASE", :value => "awx"},
{:name => "POSTGRESQL_USER", :value => database_auth.userid},
{:name => "ANSIBLE_SECRET_KEY",
Expand Down

0 comments on commit f7104f3

Please sign in to comment.