Skip to content

Commit

Permalink
Merge pull request #15 from InseeFr/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
nicolasTurban authored Jul 12, 2022
2 parents 292d62d + a9df04b commit 4e66bfd
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
5 changes: 4 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
SKIP_PREFLIGHT_CHECK=true
ACCESS_API_URL=https://coleman-access-api.dev.insee.io
AUTHENTICATION_MODE=anonymous
AUTHENTICATION_MODE=anonymous
KC_URL=http://localhost:8180/auth
KC_REALM=insee-realm
KC_CLIENT=coleman-frontend
2 changes: 1 addition & 1 deletion .k8s/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ spec:
spec:
containers:
- name: coleman-access
image: inseefr/coleman-access:0.10.4
image: inseefr/coleman-access:0.10.5
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "colempub",
"version": "0.10.4",
"version": "0.10.5",
"dependencies": {
"axios": "^0.19.2",
"bootstrap": "^3.3.7",
Expand Down
6 changes: 3 additions & 3 deletions public/keycloak.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"realm": "insee-realm",
"auth-server-url": "http://localhost:8180/auth",
"realm": "${KC_REALM}",
"auth-server-url": "${KC_URL}",
"ssl-required": "external",
"resource": "coleman-frontend",
"resource": "${KC_CLIENT}",
"public-client": true,
"confidential-port": 0
}
2 changes: 2 additions & 0 deletions scripts/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ do

done < .env
envsubst < "./configuration.json" > "configuration.temp"
envsubst < "./keycloak.json" > "keycloak.temp"
mv configuration.temp configuration.json
mv keycloak.temp keycloak.json

0 comments on commit 4e66bfd

Please sign in to comment.