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 }