From f67655c622a6fd7baef215a9108d18a5d60e2e18 Mon Sep 17 00:00:00 2001 From: kirinnee Date: Sun, 31 Dec 2023 16:46:38 +0800 Subject: [PATCH] fix: correct schedeule and command --- infra/root_chart/README.md | 6 +++++- infra/root_chart/values.yaml | 7 ++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/infra/root_chart/README.md b/infra/root_chart/README.md index 48cc2b2..71e17ea 100644 --- a/infra/root_chart/README.md +++ b/infra/root_chart/README.md @@ -23,9 +23,13 @@ Root Chart to a single Service | bromine.rootSecret.ref | string | `"NITROSO_HELIUM"` | DOPPLER Token Reference | | bromine.storeName | string | `"nitroso-helium"` | Store name to create | | bromine.target | string | `"nitroso-helium"` | | +| scheduler.command[0] | string | `"bun"` | | +| scheduler.command[1] | string | `"run"` | | +| scheduler.command[2] | string | `"index.js"` | | +| scheduler.command[3] | string | `"schedule"` | | | scheduler.envFromSecret | string | `"nitroso-helium"` | | | scheduler.restartPolicy | string | `"Never"` | | -| scheduler.schedule | string | `"35 16 * * *"` | | +| scheduler.schedule | string | `"0 16 * * *"` | | | scheduler.serviceTree.<<.landscape | string | `"lapras"` | | | scheduler.serviceTree.<<.layer | string | `"2"` | | | scheduler.serviceTree.<<.module | string | `"pollee"` | | diff --git a/infra/root_chart/values.yaml b/infra/root_chart/values.yaml index d9216b9..e438399 100644 --- a/infra/root_chart/values.yaml +++ b/infra/root_chart/values.yaml @@ -36,7 +36,12 @@ scheduler: <<: *serviceTree module: scheduler - schedule: "35 16 * * *" + schedule: "0 16 * * *" + command: + - "bun" + - "run" + - "index.js" + - "schedule" restartPolicy: "Never"