<div dir="ltr">Hi,<div><br></div><div>Is it possible to map or rename the env vars mounted within the pod of the application consuming a service as the current situation is not convenient ?</div><div><br></div><div>Example</div><div><br></div><div>- MySQL ClusterServiceClass will use these parameters as defined within the apb.yml file : <a href="https://goo.gl/HFrpSy">https://goo.gl/HFrpSy</a></div><div>- Then, if a serviceInstance is created, it will contain the same parameters but customized according to the user's choice: <a href="https://goo.gl/dXTZvA">https://goo.gl/dXTZvA</a></div><div><br></div><div><div> mysql_database: "devel"</div><div> mysql_password: "devel"</div><div> mysql_user: "devel"</div></div><div><br></div><div>- But, when the secret is mounted as env var to the pod, then the parameters have been renamed to <br></div><div><br></div><div><div>export DB_NAME="devel"</div><div>export DB_PASSWORD="devel"</div><div>export DB_USER="devel"</div></div><div><br></div><div>Where such transformation take place ? Is it possible to define its own mapping ?</div><div><br></div><div>Regards</div><div><br></div><div><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="color:rgb(0,0,0);font-family:overpass,sans-serif;font-size:10px"><p style="font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span>CHARLES</span> <span>MOULLIARD</span></p><p style="margin:0px 0px 4px;text-transform:uppercase"><span>SOFTWARE ENGINEER MANAGER SPRING(BOOT)</span></p><p style="margin:0px;color:rgb(153,153,153)"><a href="https://www.redhat.com/" style="color:rgb(0,136,206);margin:0px" target="_blank">Red Hat<span></span></a></p><p style="margin:0px 0px 6px;color:rgb(153,153,153)"><span style="margin:0px;padding:0px"><a href="mailto:cmoulliard@redhat.com" style="color:rgb(0,136,206);margin:0px" target="_blank">cmoulliard@redhat.com</a> </span> <span>M: <a href="tel:+32-473-604014" style="color:rgb(0,136,206);font-size:11px;margin:0px" target="_blank">+32-473-604014</a> </span></p><table border="0" style="font-size:medium"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"><img src="https://www.redhat.com/files/brand/email/sig-redhat.png" width="90" height="auto"></a></td></tr></tbody></table><div><div style="color:rgb(153,153,153)"><a href="https://twitter.com/cmoulliard" title="twitter" style="background:url("https://www.redhat.com/files/brand/email/sm-twitter.png") 0px 50%/16px no-repeat transparent;height:20px;color:rgb(119,119,119);display:inline-block;line-height:20px;padding-left:16px" target="_blank">@cmoulliard</a></div></div></div></div></div></div></div></div></div></div></div>
</div></div>