Skip to content

Commit 41b133a

Browse files
committed
- Added environment variables.
1 parent 55ae3a9 commit 41b133a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.k8s/frontend/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
spec:
1717
containers:
1818
- name: people-frontend
19-
image: mcqueide/people-frontend:v0.0.1
19+
image: mcqueide/people-frontend:55ae3a9
2020
ports:
2121
- containerPort: 3000
2222

public/env.template.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
window.__env = window.__env || {};
2+
window.__env.KEYCLOAK_URL = '${KEYCLOAK_URL}';
3+
window.__env.KEYCLOAK_REALM = '${KEYCLOAK_REALM}';
4+
window.__env.KEYCLOAK_CLIENT_ID = '${KEYCLOAK_CLIENT_ID}';

0 commit comments

Comments
 (0)