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.
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:cp-api-srv,cp-edge,cp-git
all
if no services were explicitly configuredThis env var should be propagated to
install-config
file in order to be presented incp-global-config
config map and as result be accessible from service pods such asedge
.