Open joselsegura opened 4 years ago
I think you'll have to pick one: either let ICM do the substitution or use openshift templates. @jhjaggars thoughts here?
If you are deploying with k8s/openshift (and I'm pretty sure you will be), I'd just use the templates provided by that system.
I'm currently using the $VAR_NAME
alternative (without brackets and without default value) and it works fine in Openshift.
Thank you for your answers
When you are deploying a service using
insights-core-messaging
in a OpenShift environment using templates, the${VAR}
environment substitution is taken by OpenShift itself and tries to find aVAR
parameter into the template.This problem can be solved using the form
$VAR
(without brackets), but I'm not sure how it will work with defaulting environment variables like${VAR:default_value}
.