diff --git a/deploy/values.yaml b/deploy/values.yaml index 43f69b6..e7e6dfa 100644 --- a/deploy/values.yaml +++ b/deploy/values.yaml @@ -200,7 +200,7 @@ securityContext: capabilities: drop: - ALL - readOnlyRootFilesystem: true + readOnlyRootFilesystem: false nodeSelector: {} tolerations: [] diff --git a/libs/db/database.rs b/libs/db/database.rs index de4faf4..9af27ee 100644 --- a/libs/db/database.rs +++ b/libs/db/database.rs @@ -22,7 +22,7 @@ impl AppDatabase { let connection_timeout = cfg.database_connection_timeout()?; let schema_search_path = cfg.database_schema_search_path()?; let read_replica = cfg.database_read_replicas()?; - + println!("[System]: Start Connect Database"); let conn_cfg = sea_orm::ConnectOptions::new(db_url) .max_connections(max_connections) .min_connections(min_connections) @@ -34,7 +34,7 @@ impl AppDatabase { .to_owned(); let db_write = Database::connect(conn_cfg).await?; - + println!("[System]: Start Read Database"); let db_read = if let Some(ref replica_url) = read_replica { let conn_cfg = sea_orm::ConnectOptions::new(replica_url.clone()) .max_connections(max_connections)