- workflow: --namespace apps (antes tenant-${TENANT_ID_NODASHES}-apps)
- values.yaml networkPolicy.addonsNamespace: addons (antes con tenant-id)
ADR-054 establece namespaces funcionales en cluster tenant (RKE2 dedicado
por ADR-018). El cluster es la unidad de aislamiento; tenant-id en
namespace name es legacy del modelo multi-tenant en cluster compartido.
70 lines
1.4 KiB
YAML
70 lines
1.4 KiB
YAML
# Defaults sensatos para tier startup. El CI inyecta tier/tenantId via --set
|
|
# leyendo valores del TenantProfile correspondiente.
|
|
|
|
replicaCount: 1
|
|
|
|
image:
|
|
repository: registry.coralsafety.com/__TENANT_ID_NODASHES__/__APP_NAME__
|
|
tag: latest
|
|
pullPolicy: Always
|
|
pullSecret: harbor-tenant-pull
|
|
|
|
# Identidad del tenant — populated por --set desde el CI
|
|
tenantId: ""
|
|
tenantIdNodashes: ""
|
|
tier: startup
|
|
goldenPath: web-backend
|
|
goldenPathLang: python
|
|
|
|
database:
|
|
secretName: __APP_NAME__-db-creds
|
|
|
|
config:
|
|
logLevel: INFO
|
|
correlationIdHeader: X-Correlation-ID
|
|
openapiRequireAuth: false
|
|
keycloakIssuer: ""
|
|
staticDemoPath: /app/static/demo
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
|
|
probes:
|
|
liveness:
|
|
initialDelaySeconds: 20
|
|
periodSeconds: 10
|
|
readiness:
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 5
|
|
failureThreshold: 3
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 8000
|
|
|
|
ingress:
|
|
enabled: true
|
|
host: __APP_NAME__-__TENANT_ID_NODASHES__.apps.coralware.cloud
|
|
tlsSecretName: __APP_NAME__-tls
|
|
|
|
alembic:
|
|
enabled: true
|
|
command: ["alembic", "upgrade", "head"]
|
|
resources:
|
|
requests: {cpu: 50m, memory: 128Mi}
|
|
limits: {cpu: 200m, memory: 256Mi}
|
|
|
|
serviceMonitor:
|
|
enabled: true
|
|
interval: 30s
|
|
port: http
|
|
|
|
networkPolicy:
|
|
enabled: true
|
|
addonsNamespace: addons # ADR-054: namespace funcional fijo en cluster tenant
|