epam/cloud-pipeline

Deployment: Introduce new environment variable CP_SERVICES_ENABLED

Closed this issue · 1 comments

Background
For some cases it would be convenient to have possibility to know which services are enabled for deployment.

Approach
Let's introduce during deployment a new env CP_SERVICES_ENABLED.
This env should contain:

  • List of names for the services that was configured for deployment, e.g. cp-api-srv,cp-edge,cp-git
  • Or special value all if no services were explicitly configured

This env var should be propagated to install-config file in order to be presented in cp-global-config config map and as result be accessible from service pods such as edge.

done by #3441