[DCAEGEN2] Set env variables from secrets 11/120211/12
authorJack Lucas <jflos@sonoris.net>
Mon, 5 Apr 2021 13:49:46 +0000 (09:49 -0400)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Thu, 29 Apr 2021 14:35:55 +0000 (14:35 +0000)
commitcbca57d74ead1240bb74132fdf9787d6554c774a
tree36e4a451014e770cb3c7158468d8cb9be6d34a19
parentcb953b397797cf1efa1102f84aaa23371899ba90
[DCAEGEN2] Set env variables from secrets

Enhances the dcaegen2-services-common deployment template to
allow setting environment variables for a DCAE microservice
container from a secret

Issue-ID: DCAEGEN2-2687
Change-Id: I8452cd1f52e941c0a3ebd15eb39b1eecc97a0ded
Signed-off-by: Jack Lucas <jflos@sonoris.net>
[Fail the deployment if one of required params is not provided]
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
kubernetes/dcaegen2-services/common/dcaegen2-services-common/templates/_deployment.tpl