For Model in Image, learn about creating data sources after you create an Oracle WebLogic Server for OKE domain.
To identify a version that uses the Model in Image source type, see the Supported Image column in Patches Included in Oracle WebLogic Server for OKE.
For mutable values such as database user names, passwords, and URLs, you must use model macros to reference arbitrary secrets from model Yaml files. All password fields in the model Yaml must use secret macros; passwords should not be directly included in the model Yaml files. So, to create the data source for the database, you must create data source secrets.
Before creating data sources, you must set up the database to create a schema user. See Prerequisites to Create a Data Source.
You can create data sources that enable you to connect to either an Oracle Autonomous Database or an Oracle Cloud Infrastructure Database (DB System) database. You can also create multi data sources and Active GridLink (AGL) data source when using Oracle Real Application Clusters (RAC) database.