Migrate to Gitea + local Docker Desktop k8s/Harbor; remove SSO
- 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>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
a79a01437a
commit
b3d48198c4
@@ -4,7 +4,7 @@ replicaCount: 2
|
||||
|
||||
server:
|
||||
image:
|
||||
repository: jfrog.trendmicro.com/ameait-it-cost-dashboard/it-cost-dashboard-server-prod
|
||||
repository: host.docker.internal:8080/library/it-cost-dashboard-server-prod
|
||||
resources:
|
||||
requests:
|
||||
cpu: 250m
|
||||
@@ -15,10 +15,10 @@ server:
|
||||
|
||||
db:
|
||||
image:
|
||||
repository: jfrog.trendmicro.com/ameait-it-cost-dashboard/it-cost-dashboard-db-prod
|
||||
repository: host.docker.internal:8080/library/it-cost-dashboard-db-prod
|
||||
storage:
|
||||
size: 20Gi
|
||||
storageClassName: gp3
|
||||
storageClassName: hostpath
|
||||
resources:
|
||||
requests:
|
||||
cpu: 250m
|
||||
@@ -30,5 +30,6 @@ db:
|
||||
ingress:
|
||||
enabled: true
|
||||
className: nginx
|
||||
# TODO: point this at a hostname resolving to the ingress-nginx external IP.
|
||||
host: it-cost-dashboard-prod.trendmicro.com
|
||||
# Local ingress hostname — map it to the Mac mini's IP (192.168.0.31) in
|
||||
# /etc/hosts or local DNS.
|
||||
host: it-cost-dashboard-prod.local
|
||||
|
||||
Reference in New Issue
Block a user