Files
it_cost_dashboard/helm/values.yaml
T
2026-09-21 18:42:32 +08:00

68 lines
1.7 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: ""
# Microsoft Entra ID SSO. Supplied per-env by the CI workflow from GitHub
# secrets; server-secret.yaml marks them required, so a deploy fails loudly
# rather than shipping a build whose sign-in button 500s.
entraClientId: ""
entraClientSecret: ""
entraIssuer: ""
# 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: {}