diff --git a/tenants/demo/35-realm-import-cm.yaml b/tenants/demo/35-realm-import-cm.yaml index e69de29..3ed9413 100644 --- a/tenants/demo/35-realm-import-cm.yaml +++ b/tenants/demo/35-realm-import-cm.yaml @@ -0,0 +1,39 @@ +apiVersion: v1 +data: + athleticmap-realm.json: | + { + "realm": "athleticmap", + "enabled": true, + "displayName": "Athletic Map", + "loginWithEmailAllowed": true, + "roles": { + "realm": [ + { "name": "admin" }, + { "name": "atm_athlete" }, + { "name": "atm_trainer" }, + { "name": "atm_team_admin" }, + { "name": "atm_fed_admin" } + ] + }, + "clients": [ + { + "clientId": "spa", + "name": "Athletic Map SPA", + "publicClient": true, + "protocol": "openid-connect", + "standardFlowEnabled": true, + "implicitFlowEnabled": false, + "directAccessGrantsEnabled": false, + "redirectUris": ["https://demo.athleticmap.influxdigital.com.br/*"], + "webOrigins": ["https://demo.athleticmap.influxdigital.com.br"], + "attributes": { + "pkce.code.challenge.method": "S256", + "post.logout.redirect.uris": "https://demo.athleticmap.influxdigital.com.br/*" + } + } + ] + } +kind: ConfigMap +metadata: + name: kc-realm-import + namespace: demo-prod diff --git a/tenants/demo/realm/athleticmap-realm.json b/tenants/demo/realm/athleticmap-realm.json new file mode 100644 index 0000000..7d6ec9b --- /dev/null +++ b/tenants/demo/realm/athleticmap-realm.json @@ -0,0 +1,32 @@ +{ + "realm": "athleticmap", + "enabled": true, + "displayName": "Athletic Map", + "loginWithEmailAllowed": true, + "roles": { + "realm": [ + { "name": "admin" }, + { "name": "atm_athlete" }, + { "name": "atm_trainer" }, + { "name": "atm_team_admin" }, + { "name": "atm_fed_admin" } + ] + }, + "clients": [ + { + "clientId": "spa", + "name": "Athletic Map SPA", + "publicClient": true, + "protocol": "openid-connect", + "standardFlowEnabled": true, + "implicitFlowEnabled": false, + "directAccessGrantsEnabled": false, + "redirectUris": ["https://demo.athleticmap.influxdigital.com.br/*"], + "webOrigins": ["https://demo.athleticmap.influxdigital.com.br"], + "attributes": { + "pkce.code.challenge.method": "S256", + "post.logout.redirect.uris": "https://demo.athleticmap.influxdigital.com.br/*" + } + } + ] +} diff --git a/tenants/piloto/35-realm-import-cm.yaml b/tenants/piloto/35-realm-import-cm.yaml index e69de29..6268ebd 100644 --- a/tenants/piloto/35-realm-import-cm.yaml +++ b/tenants/piloto/35-realm-import-cm.yaml @@ -0,0 +1,39 @@ +apiVersion: v1 +data: + athleticmap-realm.json: | + { + "realm": "athleticmap", + "enabled": true, + "displayName": "Athletic Map", + "loginWithEmailAllowed": true, + "roles": { + "realm": [ + { "name": "admin" }, + { "name": "atm_athlete" }, + { "name": "atm_trainer" }, + { "name": "atm_team_admin" }, + { "name": "atm_fed_admin" } + ] + }, + "clients": [ + { + "clientId": "spa", + "name": "Athletic Map SPA", + "publicClient": true, + "protocol": "openid-connect", + "standardFlowEnabled": true, + "implicitFlowEnabled": false, + "directAccessGrantsEnabled": false, + "redirectUris": ["https://piloto.athleticmap.influxdigital.com.br/*"], + "webOrigins": ["https://piloto.athleticmap.influxdigital.com.br"], + "attributes": { + "pkce.code.challenge.method": "S256", + "post.logout.redirect.uris": "https://piloto.athleticmap.influxdigital.com.br/*" + } + } + ] + } +kind: ConfigMap +metadata: + name: kc-realm-import + namespace: piloto-prod diff --git a/tenants/piloto/realm/athleticmap-realm.json b/tenants/piloto/realm/athleticmap-realm.json new file mode 100644 index 0000000..e95f9cc --- /dev/null +++ b/tenants/piloto/realm/athleticmap-realm.json @@ -0,0 +1,32 @@ +{ + "realm": "athleticmap", + "enabled": true, + "displayName": "Athletic Map", + "loginWithEmailAllowed": true, + "roles": { + "realm": [ + { "name": "admin" }, + { "name": "atm_athlete" }, + { "name": "atm_trainer" }, + { "name": "atm_team_admin" }, + { "name": "atm_fed_admin" } + ] + }, + "clients": [ + { + "clientId": "spa", + "name": "Athletic Map SPA", + "publicClient": true, + "protocol": "openid-connect", + "standardFlowEnabled": true, + "implicitFlowEnabled": false, + "directAccessGrantsEnabled": false, + "redirectUris": ["https://piloto.athleticmap.influxdigital.com.br/*"], + "webOrigins": ["https://piloto.athleticmap.influxdigital.com.br"], + "attributes": { + "pkce.code.challenge.method": "S256", + "post.logout.redirect.uris": "https://piloto.athleticmap.influxdigital.com.br/*" + } + } + ] +}