Good morning, I have the following distribution in the moment
- I have several non azure databases
- A container record in azure linked with the kubernetes with images of my REST API application inside
in my application I have a server.xml that
<Realm className = "org.apache.catalina.realm.LockOutRealm">
<Realm className = "org.apache.catalina.realm.JDBCRealm" connectionURL = "jdbc: sqlserver: //xxxx.database.windows.net:1433; database = demo1; user = xxx @ xxx; password =` `; encrypt = true; trustServerCertificate = true; hostNameInCertificate = *. database.windows.net; loginTimeout = 30; " driverName = "com.microsoft.sqlserver.jdbc.SQLServerDriver" roleNameCol = "role" userCredCol = "password" userNameCol = "login" userRoleTable = "userRole" userTable = "v_login" />
</ Realm>
which references my database and through this makes the connection .... its that okay.
However I was using for each bank an image changing these parameters, but now I want to have only one image and change the parameter externally
I searched a lot and did not find a way to change these parameters externally (in deploy.yaml or service.yaml)
I need your help