All checks were successful
__APP_NAME__ — build & deploy / ¿Credenciales de build listas? (push) Successful in 0s
__APP_NAME__ — build & deploy / Calidad + build + push (push) Has been skipped
__APP_NAME__ — build & deploy / ¿Cluster del tenant listo? (push) Has been skipped
__APP_NAME__ — build & deploy / Helm upgrade --install (push) Has been skipped
Sincronizado desde repo IDP templates/ (CHART-SYNC-IDP-GITEA-DRIFT). Reemplaza el Ingress (rke2-ingress-nginx, EOL marzo 2026) por HTTPRoute (Gateway API) adjunto al Gateway tenant-gateway que crea stack-deployer (§3c). NetworkPolicy egress kube-system -> traefik-system. FQDN DOT (ADR-082) preservado. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
68 lines
2.1 KiB
YAML
68 lines
2.1 KiB
YAML
# Defaults sensatos para tier free-trial. El CI inyecta tier/tenantId via --set
|
|
# leyendo valores del TenantProfile correspondiente.
|
|
|
|
replicaCount: 1
|
|
|
|
image:
|
|
# Proyecto Harbor dedicado del tenant: `t-<tenant-id-short>` (ADR-019 D-03).
|
|
repository: registry.coralsafety.com/t-__TENANT_ID_SHORT__/__APP_NAME__
|
|
tag: latest
|
|
pullPolicy: Always
|
|
pullSecret: harbor-tenant-pull
|
|
|
|
# Identidad del tenant — populated por --set desde el CI
|
|
tenantId: ""
|
|
tenantIdNodashes: ""
|
|
tier: free-trial
|
|
goldenPath: rest-api
|
|
goldenPathLang: python
|
|
|
|
config:
|
|
logLevel: INFO
|
|
correlationIdHeader: X-Correlation-ID
|
|
openapiRequireAuth: false
|
|
keycloakIssuer: ""
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
limits:
|
|
cpu: 250m
|
|
memory: 256Mi
|
|
|
|
probes:
|
|
liveness:
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 10
|
|
readiness:
|
|
initialDelaySeconds: 3
|
|
periodSeconds: 5
|
|
failureThreshold: 3
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 8000
|
|
|
|
httpRoute:
|
|
# HTTPRoute (Gateway API) — el cluster tenant usa Traefik Proxy + Gateway API
|
|
# (ADR-060 Fase 1). El tráfico entra por Traefik vía el Gateway `tenant-gateway`
|
|
# del ns apps, creado por stack-deployer por tenant (§3c). Paridad con web-backend.
|
|
enabled: true
|
|
# Nombre del Gateway al que se adjunta el HTTPRoute (parentRefs). Default fijo.
|
|
gatewayName: tenant-gateway
|
|
# FQDN canónico (ADR-067 / ADR-082): <app>.<tenant-uuid>.apps.coralware.cloud
|
|
# Cubierto por el wildcard *.{tenant-uuid}.apps.coralware.cloud y el cert
|
|
# tenant-wildcard-tls que TERMINA el listener HTTPS del Gateway (no este route).
|
|
host: __APP_NAME__.__TENANT_ID__.apps.coralware.cloud
|
|
# NOTA: el TLS (Secret tenant-wildcard-tls), el HTTP->HTTPS redirect y el
|
|
# body-size ya NO viven en este recurso (ADR-060 D6): el cert lo termina el
|
|
# listener del Gateway; el redirect y el body-size son config global de Traefik.
|
|
|
|
networkPolicy:
|
|
enabled: true
|
|
# Namespace donde corre el ingress controller del cluster tenant.
|
|
# ADR-060 Fase 1: el ingress es Traefik Proxy en ns traefik-system
|
|
# (bundle traefik-bootstrap), reemplaza rke2-ingress-nginx (kube-system).
|
|
ingressControllerNamespace: traefik-system
|