- Remove Microsoft Entra ID SSO entirely; local admin credentials login is the only sign-in path (fail-closed on empty LOCAL_ADMIN_PASSWORD). Delete config/users.json allowlist and lookupRole. - Move CI from .github to .gitea/workflows (Gitea Actions, runner label gitea-runner); drop the k8s-API network debug step. - Replace JFrog with local Harbor: push/pull via host.docker.internal:8080/library, login with HARBOR_* Gitea secrets, pull secret renamed to harbor-pull-secret (created by CI per namespace). - Adapt Helm values to Docker Desktop k8s: storageClassName hostpath, Harbor image repositories, *.local ingress hosts, AUTH_URL scheme http (configurable via ingress.scheme). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
65 lines
1.6 KiB
YAML
65 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
|
|
# Docker Desktop's built-in StorageClass.
|
|
storageClassName: hostpath
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 512Mi
|
|
limits:
|
|
cpu: 1
|
|
memory: 1Gi
|
|
|
|
ingress:
|
|
enabled: true
|
|
className: nginx
|
|
host: "" # required per-env
|
|
|
|
secrets:
|
|
authSecret: "" # from Gitea 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 Gitea secret DB_ROOT_PASSWORD_<ENV>
|
|
# Local admin login password. Empty disables login entirely (src/auth.ts
|
|
# fails closed), so this is effectively required now that it is the only
|
|
# sign-in path.
|
|
localAdminPassword: ""
|
|
|
|
# Created/refreshed by the CI workflow in each namespace ("Ensure Harbor pull
|
|
# secret exists" step). Not templated: the kubelet needs it independently of Helm.
|
|
imagePullSecrets:
|
|
- name: harbor-pull-secret
|
|
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|