From 844984e29a028006168d5984550a1501c0e34501 Mon Sep 17 00:00:00 2001 From: ATM Platform Date: Mon, 22 Jun 2026 11:41:12 +0000 Subject: [PATCH] =?UTF-8?q?cadastro:1.5=20=E2=80=94=20vinculo=20automatico?= =?UTF-8?q?=20funcionario=5Fid=20no=20Keycloak=20(service=20account)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tenants/acme/80-servico-cadastro.yaml | 6 +++++- tenants/demo/80-servico-cadastro.yaml | 6 +++++- tenants/piloto/80-servico-cadastro.yaml | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/tenants/acme/80-servico-cadastro.yaml b/tenants/acme/80-servico-cadastro.yaml index bbaa51d..3daa1f1 100644 --- a/tenants/acme/80-servico-cadastro.yaml +++ b/tenants/acme/80-servico-cadastro.yaml @@ -21,7 +21,7 @@ spec: spec: containers: - name: servico-cadastro - image: docker.io/library/servico-cadastro:1.4 + image: docker.io/library/servico-cadastro:1.5 imagePullPolicy: Never ports: [{ containerPort: 8083 }] env: @@ -34,6 +34,10 @@ spec: - { name: ATM_JWK_SET_URI, value: "http://keycloak:8080/realms/athleticmap/protocol/openid-connect/certs" } - { name: ATM_ISSUER, value: "https://auth-acme.athleticmap.influxdigital.com.br/realms/athleticmap" } - { name: ATM_TENANT, value: "acme" } + - { name: ATM_KC_ADMIN_ENABLED, value: "true" } + - name: ATM_KC_CLIENT_SECRET + valueFrom: + secretKeyRef: { name: kc-admin-secret, key: client-secret } resources: requests: { cpu: 150m, memory: 320Mi } limits: { cpu: "1", memory: 768Mi } diff --git a/tenants/demo/80-servico-cadastro.yaml b/tenants/demo/80-servico-cadastro.yaml index 0cfa410..794cfa9 100644 --- a/tenants/demo/80-servico-cadastro.yaml +++ b/tenants/demo/80-servico-cadastro.yaml @@ -21,7 +21,7 @@ spec: spec: containers: - name: servico-cadastro - image: docker.io/library/servico-cadastro:1.4 + image: docker.io/library/servico-cadastro:1.5 imagePullPolicy: Never ports: [{ containerPort: 8083 }] env: @@ -34,6 +34,10 @@ spec: - { name: ATM_JWK_SET_URI, value: "http://keycloak:8080/realms/athleticmap/protocol/openid-connect/certs" } - { name: ATM_ISSUER, value: "https://auth-demo.athleticmap.influxdigital.com.br/realms/athleticmap" } - { name: ATM_TENANT, value: "demo" } + - { name: ATM_KC_ADMIN_ENABLED, value: "true" } + - name: ATM_KC_CLIENT_SECRET + valueFrom: + secretKeyRef: { name: kc-admin-secret, key: client-secret } resources: requests: { cpu: 150m, memory: 320Mi } limits: { cpu: "1", memory: 768Mi } diff --git a/tenants/piloto/80-servico-cadastro.yaml b/tenants/piloto/80-servico-cadastro.yaml index 36b1bcb..5bbc649 100644 --- a/tenants/piloto/80-servico-cadastro.yaml +++ b/tenants/piloto/80-servico-cadastro.yaml @@ -21,7 +21,7 @@ spec: spec: containers: - name: servico-cadastro - image: docker.io/library/servico-cadastro:1.4 + image: docker.io/library/servico-cadastro:1.5 imagePullPolicy: Never ports: [{ containerPort: 8083 }] env: @@ -34,6 +34,10 @@ spec: - { name: ATM_JWK_SET_URI, value: "http://keycloak:8080/realms/athleticmap/protocol/openid-connect/certs" } - { name: ATM_ISSUER, value: "https://auth-piloto.athleticmap.influxdigital.com.br/realms/athleticmap" } - { name: ATM_TENANT, value: "piloto" } + - { name: ATM_KC_ADMIN_ENABLED, value: "true" } + - name: ATM_KC_CLIENT_SECRET + valueFrom: + secretKeyRef: { name: kc-admin-secret, key: client-secret } resources: requests: { cpu: 150m, memory: 320Mi } limits: { cpu: "1", memory: 768Mi }