A config map is a configuration file that holds a sort of variables to be used in the configuration of a deployment.
This is example shows how to configure the configuration of a database.
apiVersion:V1kind:ConfigMapmetadata:name:test-configmap#name the configmapdata: #Conexion dbDB_HOST:127.0.0.1DB_PORT:'3306'DB_NAME:'test_load'DB_USER:'user'DB_PASS:'1234'
Configmaps are not recommended for sensible data configuration.