Skip to content

Commit

Permalink
Adjust OpenShift build resources
Browse files Browse the repository at this point in the history
  • Loading branch information
sarkikos committed May 13, 2024
1 parent 4750d63 commit 9a29047
Show file tree
Hide file tree
Showing 9 changed files with 86 additions and 6 deletions.
4 changes: 2 additions & 2 deletions openshift/rahti2/devel/template-devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ objects:
name: researchfi-frontend-devel:latest
resources:
limits:
cpu: 2
cpu: 1
memory: 6Gi
requests:
cpu: 1
cpu: 0.5
memory: 4Gi
successfulBuildsHistoryLimit: 2
failedBuildsHistoryLimit: 2
Expand Down
4 changes: 2 additions & 2 deletions openshift/rahti2/production/template-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ objects:
name: researchfi-frontend-staging:latest
resources:
limits:
cpu: 2
cpu: 1
memory: 6Gi
requests:
cpu: 1
cpu: 0.5
memory: 4Gi
successfulBuildsHistoryLimit: 2
failedBuildsHistoryLimit: 2
Expand Down
4 changes: 2 additions & 2 deletions openshift/rahti2/qa/template-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ objects:
name: researchfi-frontend-qa:latest
resources:
limits:
cpu: 2
cpu: 1
memory: 6Gi
requests:
cpu: 1
cpu: 0.5
memory: 4Gi
successfulBuildsHistoryLimit: 2
failedBuildsHistoryLimit: 2
Expand Down
16 changes: 16 additions & 0 deletions src/assets/config/auth_config.json_docker-auth-test
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"stsServer": "https://tnxwork.eu.ngrok.io/auth_test_keycloak/realms/mydatatest" ,
"redirectUrl": "https://localhost:5003/mydata/redirect" ,
"postLogoutRedirectUri": "https://localhost:5003/mydata" ,
"clientId": "js",
"scope": "openid api1",
"responseType": "code",
"silentRenew": true,
"useRefreshToken": true,
"postLoginRoute": "mydata/service-deployment?step=3",
"ignoreNonceAfterRefresh": true,
"historyCleanupOff": false,
"customParamsAuthRequest": {
"ui_locales": "fi"
}
}
12 changes: 12 additions & 0 deletions src/assets/config/auth_config.json_keycloak-devel.rahtiapp.fi
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"stsServer": "https://keycloak-devel.rahtiapp.fi/auth/realms/mydata" ,
"redirectUrl": "https://localhost:5003/mydata/redirect" ,
"postLogoutRedirectUri": "https://localhost:5003/mydata" ,
"clientId": "js",
"scope": "openid api1",
"responseType": "code",
"silentRenew": true,
"useRefreshToken": true,
"postLoginRoute": "mydata/service-deployment?step=3",
"ignoreNonceAfterRefresh": true
}
12 changes: 12 additions & 0 deletions src/assets/config/auth_config.json_keycloak-qa.rahtiapp.fi
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"stsServer": "https://keycloak-qa.rahtiapp.fi/realms/mydata" ,
"redirectUrl": "https://localhost:5003/mydata/redirect" ,
"postLogoutRedirectUri": "https://localhost:5003/mydata" ,
"clientId": "js",
"scope": "openid api1",
"responseType": "code",
"silentRenew": true,
"useRefreshToken": true,
"postLoginRoute": "mydata/service-deployment?step=3",
"ignoreNonceAfterRefresh": true
}
12 changes: 12 additions & 0 deletions src/assets/config/auth_config.json_keycloak-ts.rahtiapp.fi
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"stsServer": "https://keycloak-ts.rahtiapp.fi/realms/mydata_test" ,
"redirectUrl": "https://localhost:5003/mydata/redirect" ,
"postLogoutRedirectUri": "https://localhost:5003/mydata" ,
"clientId": "js",
"scope": "openid api1",
"responseType": "code",
"silentRenew": true,
"useRefreshToken": true,
"postLoginRoute": "mydata/service-deployment?step=3",
"ignoreNonceAfterRefresh": true
}
16 changes: 16 additions & 0 deletions src/assets/config/auth_config.json_keycloak19-devel.rahtiapp.fi
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"stsServer": "https://keycloak19-devel.rahtiapp.fi/realms/mydata" ,
"redirectUrl": "https://localhost:5003/mydata/redirect" ,
"postLogoutRedirectUri": "https://localhost:5003/mydata" ,
"clientId": "js",
"scope": "openid api1",
"responseType": "code",
"silentRenew": true,
"useRefreshToken": true,
"postLoginRoute": "mydata/service-deployment?step=3",
"ignoreNonceAfterRefresh": true,
"historyCleanupOff": false,
"customParamsAuthRequest": {
"ui_locales": "fi"
}
}
12 changes: 12 additions & 0 deletions src/assets/config/auth_config.json_researchfi-auth.rahtiapp.fi
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"stsServer": "https://researchfi-auth.rahtiapp.fi/realms/mydata" ,
"redirectUrl": "https://localhost:5003/mydata/redirect" ,
"postLogoutRedirectUri": "https://localhost:5003/mydata" ,
"clientId": "js",
"scope": "openid api1",
"responseType": "code",
"silentRenew": true,
"useRefreshToken": true,
"postLoginRoute": "mydata/service-deployment?step=3",
"ignoreNonceAfterRefresh": true
}

0 comments on commit 9a29047

Please sign in to comment.