feat(tenants): planos de demonstracao — demo=bronze, acme=prata (escolinha segue institucional); decisao do dono 2026-09-28

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ATM Platform
2026-09-28 13:43:43 +00:00
parent c8d5411bcc
commit 5388461a77
10 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ spec:
- name: ATM_TENANT
value: acme
- name: ATM_PLANO
value: institucional
value: prata
- name: ATM_KC_ADMIN_ENABLED
value: 'true'
- name: ATM_KC_ADMIN_URL
+1 -1
View File
@@ -42,7 +42,7 @@ spec:
- name: ATM_TENANT
value: acme
- name: ATM_PLANO
value: institucional
value: prata
- name: ATM_CONSENTIMENTO_SEGREDO
valueFrom:
secretKeyRef:
+1 -1
View File
@@ -42,7 +42,7 @@ spec:
- name: ATM_TENANT
value: acme
- name: ATM_PLANO
value: institucional
value: prata
- name: GARMIN_REDIRECT_URI
value: https://acme.athleticmap.com/api/public/integrations/garmin/callback
- name: GARMIN_FRONTEND_REDIRECT
+1 -1
View File
@@ -33,7 +33,7 @@ spec:
- { name: ATM_JWK_SET_URI, value: "http://keycloak.plataforma-prod.svc:8080/realms/athleticmap-3/protocol/openid-connect/certs" }
- { name: ATM_ISSUER, value: "https://auth.athleticmap.com/realms/athleticmap-3" }
- { name: ATM_TENANT, value: "acme" }
- { name: ATM_PLANO, value: "institucional" }
- { name: ATM_PLANO, value: "prata" }
resources:
requests: { cpu: 50m, memory: 320Mi }
limits: { cpu: "1", memory: 768Mi }
+2 -2
View File
@@ -29,7 +29,7 @@ spec:
- { name: ATM_REALM, value: "athleticmap-3" }
- { name: ATM_CLIENT, value: "spa" }
- { name: ATM_TENANT, value: "acme" }
- { name: ATM_PLANO, value: "institucional" }
- { name: ATM_PLANO, value: "prata" }
# P4.6 — o roteamento interno do nginx, por GRUPO de contextos.
#
# Medido em 2026-09-22: as tres estavam VAZIAS nos quatro tenants, e
@@ -89,7 +89,7 @@ spec:
- name: ATM_CONSENTIMENTO_SEGREDO
valueFrom: { secretKeyRef: { name: consentimento-selo, key: segredo } }
- { name: ATM_TENANT, value: "acme" }
- { name: ATM_PLANO, value: "institucional" }
- { name: ATM_PLANO, value: "prata" }
- { name: GARMIN_FRONTEND_REDIRECT, value: "https://acme.athleticmap.com/integracoes/garmin" }
resources:
requests: { cpu: 50m, memory: 256Mi }
+1 -1
View File
@@ -42,7 +42,7 @@ spec:
- name: ATM_TENANT
value: demo
- name: ATM_PLANO
value: institucional
value: bronze
- name: ATM_KC_ADMIN_ENABLED
value: 'true'
- name: ATM_KC_ADMIN_URL
+1 -1
View File
@@ -42,7 +42,7 @@ spec:
- name: ATM_TENANT
value: demo
- name: ATM_PLANO
value: institucional
value: bronze
- name: ATM_CONSENTIMENTO_SEGREDO
valueFrom:
secretKeyRef:
+1 -1
View File
@@ -42,7 +42,7 @@ spec:
- name: ATM_TENANT
value: demo
- name: ATM_PLANO
value: institucional
value: bronze
- name: GARMIN_REDIRECT_URI
value: https://demo.athleticmap.com/api/public/integrations/garmin/callback
- name: GARMIN_FRONTEND_REDIRECT
+1 -1
View File
@@ -33,7 +33,7 @@ spec:
- { name: ATM_JWK_SET_URI, value: "http://keycloak.plataforma-prod.svc:8080/realms/athleticmap-2/protocol/openid-connect/certs" }
- { name: ATM_ISSUER, value: "https://auth.athleticmap.com/realms/athleticmap-2" }
- { name: ATM_TENANT, value: "demo" }
- { name: ATM_PLANO, value: "institucional" }
- { name: ATM_PLANO, value: "bronze" }
resources:
requests: { cpu: 50m, memory: 320Mi }
limits: { cpu: "1", memory: 768Mi }
+2 -2
View File
@@ -29,7 +29,7 @@ spec:
- { name: ATM_REALM, value: "athleticmap-2" }
- { name: ATM_CLIENT, value: "spa" }
- { name: ATM_TENANT, value: "demo" }
- { name: ATM_PLANO, value: "institucional" }
- { name: ATM_PLANO, value: "bronze" }
# P4.6 — o roteamento interno do nginx, por GRUPO de contextos.
#
# Medido em 2026-09-22: as tres estavam VAZIAS nos quatro tenants, e
@@ -89,7 +89,7 @@ spec:
- name: ATM_CONSENTIMENTO_SEGREDO
valueFrom: { secretKeyRef: { name: consentimento-selo, key: segredo } }
- { name: ATM_TENANT, value: "demo" }
- { name: ATM_PLANO, value: "institucional" }
- { name: ATM_PLANO, value: "bronze" }
- { name: GARMIN_FRONTEND_REDIRECT, value: "https://demo.athleticmap.com/integracoes/garmin" }
resources:
requests: { cpu: 50m, memory: 256Mi }