Open siamaksade opened 6 years ago
This is related to https://bugzilla.redhat.com/show_bug.cgi?id=1542235.
This is a good issue @siamaksade and an excellent suggestion. When I was working on updating our hello-world-apb , I had originally made the names unique by using the _apb_service_instance_id
. This gave the benefit of allowing multiple instances of the ServiceClass
to be created in the same namespace without creating a new parameter...however I think that your suggestion is a better approach for solving this problem.
https://github.com/ansibleplaybookbundle/hello-world-apb/pull/3 has been merged and uses the _apb_service_instance_id
a similar change will need to be made to postgresql-apb
.
We plan to address this issue with all database APBs in next sprint, should have this resolved ~middle of May.
Related trello card https://trello.com/c/5vybIGku
The service name for postgresql is hard-coded to
postgresql
: https://github.com/ansibleplaybookbundle/postgresql-apb/blob/master/roles/rhscl-postgresql-apb/tasks/main.yml#L28It should be paramterized so that use can choose the service name during instantiation