fix: correctif cicd

This commit is contained in:
Max batleforc 2024-06-28 04:08:10 +02:00
parent 50f9ae43c1
commit 6b2a407d1e
No known key found for this signature in database
GPG Key ID: 25D243AB4B6AC9E7
2 changed files with 1 additions and 2 deletions

View File

@ -94,7 +94,7 @@ spec:
name: "bot-discord-token"
key: "token"
- name: DB_URL
value: "{{ .Chart.Name }}-{{- template "mychart.name" . -}}-surrealdb"
value: "{{ .Chart.Name }}-{{- template "mychart.name" . -}}-surrealdb:8000"
- name: RUST_ENV
{{- if regexMatch "^[0-9]+\\.[0-9]+\\.[0-9]+$" .Values.image.tag }}
value: "prod"

View File

@ -20,7 +20,6 @@ use utoipa_swagger_ui::SwaggerUi;
async fn main() -> std::io::Result<()> {
let config = parse_local_config();
let port = config.port;
println!("Starting the trace");
tracing::init::init_tracing(config.tracing.clone(), config.bot_name.clone());
println!("Init db");
match db::init::init_db(config.persistence.clone()).await {