diff --git a/infra/apps/core/accounts/base/oci-repository.yaml b/infra/apps/core/accounts/base/oci-repository.yaml index 8ca4ca0..9cefb14 100644 --- a/infra/apps/core/accounts/base/oci-repository.yaml +++ b/infra/apps/core/accounts/base/oci-repository.yaml @@ -4,7 +4,7 @@ metadata: name: accounts-chart spec: interval: 10m0s - url: oci://ghcr.io/x-evor/app-service + url: oci://ghcr.io/x-evor/accounts-chart ref: semver: "0.1.0" layerSelector: diff --git a/infra/apps/core/accounts/base/values.yaml b/infra/apps/core/accounts/base/values.yaml index e343bb3..d1b69ee 100644 --- a/infra/apps/core/accounts/base/values.yaml +++ b/infra/apps/core/accounts/base/values.yaml @@ -1,22 +1,26 @@ -nameOverride: accounts -containerPort: 8080 service: - port: 80 -existingSecretName: accounts-env -env: - PORT: "8080" - SERVICE_NAME: accounts - HEALTHCHECK_PATH: /healthz -readinessProbe: - httpGet: - path: /healthz - port: http - initialDelaySeconds: 10 - periodSeconds: 10 -livenessProbe: - httpGet: - path: /healthz - port: http - initialDelaySeconds: 30 - periodSeconds: 20 - + nameOverride: accounts + containerPort: 8080 + service: + port: 80 + global: + existingSecretName: accounts-env + repository: ghcr.io/x-evor/accounts + # Preview tracks consume the rolling `latest` image from the repo-local GHCR build workflow. + tag: latest + env: + PORT: "8080" + SERVICE_NAME: accounts + HEALTHCHECK_PATH: /healthz + readinessProbe: + httpGet: + path: /healthz + port: http + initialDelaySeconds: 10 + periodSeconds: 10 + livenessProbe: + httpGet: + path: /healthz + port: http + initialDelaySeconds: 30 + periodSeconds: 20 diff --git a/infra/apps/core/accounts/pre/values.yaml b/infra/apps/core/accounts/pre/values.yaml index ab78289..40e176f 100644 --- a/infra/apps/core/accounts/pre/values.yaml +++ b/infra/apps/core/accounts/pre/values.yaml @@ -1,16 +1,16 @@ -replicaCount: 1 -image: - repository: ghcr.io/x-evor/accounts - tag: latest -resources: - requests: - cpu: 100m - memory: 128Mi - limits: - cpu: 500m - memory: 384Mi -pdb: - minAvailable: 1 -env: - APP_ENV: pre - DB_SCHEMA: core_pre +service: + replicaCount: 1 + global: + tag: latest + env: + APP_ENV: pre + DB_SCHEMA: core_pre + resources: + requests: + cpu: 100m + memory: 128Mi + limits: + cpu: 500m + memory: 384Mi + pdb: + minAvailable: 1 diff --git a/infra/apps/core/accounts/prod/values.yaml b/infra/apps/core/accounts/prod/values.yaml index 140cf88..085baef 100644 --- a/infra/apps/core/accounts/prod/values.yaml +++ b/infra/apps/core/accounts/prod/values.yaml @@ -1,16 +1,17 @@ -replicaCount: 2 -image: - repository: ghcr.io/x-evor/accounts - tag: release -resources: - requests: - cpu: 250m - memory: 256Mi - limits: - cpu: 1 - memory: 768Mi -pdb: - minAvailable: 1 -env: - APP_ENV: production - DB_SCHEMA: core_prod +service: + replicaCount: 2 + global: + # Production consumes an explicitly published stable tag such as `release`. + tag: release + env: + APP_ENV: production + DB_SCHEMA: core_prod + resources: + requests: + cpu: 250m + memory: 256Mi + limits: + cpu: 1 + memory: 768Mi + pdb: + minAvailable: 1 diff --git a/infra/apps/core/console/base/oci-repository.yaml b/infra/apps/core/console/base/oci-repository.yaml index 2d2980c..6500fc9 100644 --- a/infra/apps/core/console/base/oci-repository.yaml +++ b/infra/apps/core/console/base/oci-repository.yaml @@ -4,7 +4,7 @@ metadata: name: console-chart spec: interval: 10m0s - url: oci://ghcr.io/x-evor/app-service + url: oci://ghcr.io/x-evor/console-chart ref: semver: "0.1.0" layerSelector: diff --git a/infra/apps/core/console/base/values.yaml b/infra/apps/core/console/base/values.yaml index 0118cfe..710eb2f 100644 --- a/infra/apps/core/console/base/values.yaml +++ b/infra/apps/core/console/base/values.yaml @@ -1,22 +1,32 @@ -nameOverride: console -containerPort: 3000 service: - port: 80 -existingSecretName: console-env -env: - PORT: "3000" - SERVICE_NAME: console - HEALTHCHECK_PATH: /healthz -readinessProbe: - httpGet: - path: /healthz - port: http - initialDelaySeconds: 10 - periodSeconds: 10 -livenessProbe: - httpGet: - path: /healthz - port: http - initialDelaySeconds: 30 - periodSeconds: 20 - + nameOverride: console + containerPort: 3000 + service: + port: 80 + global: + existingSecretName: console-env + repository: ghcr.io/x-evor/console + # Preview tracks consume the rolling `latest` image from the repo-local GHCR build workflow. + tag: latest + env: + PORT: "3000" + SERVICE_NAME: console + HEALTHCHECK_PATH: / + DOCS_SERVICE_URL: https://docs.svc.plus + NEXT_PUBLIC_DOCS_BASE_URL: https://docs.svc.plus + external-service: + - docs.svc.plus + - xworkmate.svc.plus + - openclaw-gateway.svc.plus + readinessProbe: + httpGet: + path: / + port: http + initialDelaySeconds: 10 + periodSeconds: 10 + livenessProbe: + httpGet: + path: / + port: http + initialDelaySeconds: 30 + periodSeconds: 20 diff --git a/infra/apps/core/console/pre/values.yaml b/infra/apps/core/console/pre/values.yaml index a461aef..b94cc7f 100644 --- a/infra/apps/core/console/pre/values.yaml +++ b/infra/apps/core/console/pre/values.yaml @@ -1,16 +1,16 @@ -replicaCount: 1 -image: - repository: ghcr.io/x-evor/console - tag: latest -resources: - requests: - cpu: 100m - memory: 128Mi - limits: - cpu: 500m - memory: 384Mi -pdb: - minAvailable: 1 -env: - APP_ENV: pre - ACCOUNTS_BASE_URL: https://accounts-pre.svc.plus +service: + replicaCount: 1 + global: + tag: latest + env: + APP_ENV: pre + ACCOUNTS_BASE_URL: https://accounts-pre.svc.plus + resources: + requests: + cpu: 100m + memory: 128Mi + limits: + cpu: 500m + memory: 384Mi + pdb: + minAvailable: 1 diff --git a/infra/apps/core/console/prod/values.yaml b/infra/apps/core/console/prod/values.yaml index 2b3722e..715c94a 100644 --- a/infra/apps/core/console/prod/values.yaml +++ b/infra/apps/core/console/prod/values.yaml @@ -1,16 +1,17 @@ -replicaCount: 2 -image: - repository: ghcr.io/x-evor/console - tag: release -resources: - requests: - cpu: 250m - memory: 256Mi - limits: - cpu: 1 - memory: 768Mi -pdb: - minAvailable: 1 -env: - APP_ENV: production - ACCOUNTS_BASE_URL: https://accounts.svc.plus +service: + replicaCount: 2 + global: + # Production consumes an explicitly published stable tag such as `release`. + tag: release + env: + APP_ENV: production + ACCOUNTS_BASE_URL: https://accounts.svc.plus + resources: + requests: + cpu: 250m + memory: 256Mi + limits: + cpu: 1 + memory: 768Mi + pdb: + minAvailable: 1