This commit is contained in:
s871077
2026-09-11 10:11:09 +08:00
parent e25c995560
commit 58587d19a8
25 changed files with 1643 additions and 54 deletions
+67
View File
@@ -0,0 +1,67 @@
# Base defaults. Per-environment overrides live in values-dev.yaml /
# values-prod.yaml; image TAGS are always supplied by the CI workflow via --set
# (immutable: commit SHA on dev, git tag on prod) and are never pinned here.
replicaCount: 1
server:
image:
repository: ""
tag: ""
pullPolicy: IfNotPresent
service:
type: ClusterIP
port: 3000
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi
db:
image:
repository: ""
tag: ""
pullPolicy: IfNotPresent
port: 3306
database: it_cost_dashboard
storage:
size: 5Gi
storageClassName: gp3
resources:
requests:
cpu: 100m
memory: 512Mi
limits:
cpu: 1
memory: 1Gi
ingress:
enabled: true
className: nginx
host: "" # required per-env
secrets:
authSecret: "" # from GitHub secret AUTH_SECRET_<ENV>
# MySQL root password. MUST be [A-Za-z0-9-] only — it is interpolated into
# DATABASE_URL and Helm has no URL-encode function.
dbRootPassword: "" # from GitHub secret DB_ROOT_PASSWORD_<ENV>
# Optional; empty disables local login entirely (src/auth.ts fails closed).
localAdminPassword: ""
# --- SSO restore: set these (and swap `default ""` for `required` in
# templates/server-secret.yaml) when Entra ID is re-enabled ---
# entraClientId: ""
# entraClientSecret: ""
# entraIssuer: ""
# authUrl: ""
# Pre-created manually, once per namespace (see the deploy notes). Not templated:
# the kubelet needs it independently of Helm.
imagePullSecrets:
- name: jfrog-registry-creds
nodeSelector: {}
tolerations: []
affinity: {}