Files
it_cost_dashboard/helm/values.yaml
T
2026-09-11 10:11:09 +08:00

68 lines
1.6 KiB
YAML

# 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: {}