If Redis or PostgreSQL `nameOverride` is provided, `ifCoreServicesReady` fails

Summary

If nameOverride is provdied to the PostgreSQL or Redis components, that will change the Service names, which will cause ifCoreServices to fail because those Service names are currently hard coded.

Steps to reproduce

...
redis:
  nameOverride: redis-override
postgresql:
  nameOverride: postgresql-override

Current behavior

Providing name override to PostgreSQL and Redis breaks ifCoreServicesReady method.

Expected behavior

Providing name override to PostgreSQL and Redis does not break ifCoreServicesReady method.

Acceptance

  • name override to PostgreSQL does not break ifCoreServicesReady
  • name override to Redis does not break ifCoreServicesReady
Edited by Mitchell Nielsen