Skip to content

Commit b766053

Browse files
committed
chore: Add routes.platform env var to Kustomize and Helm UI deployments
Kustomize: Insert ROUTES_FILE env var after the existing SUBFOLDER entry in the env: block of admin-ui, login-ui, and end-user-ui Kustomize base deployment manifests. Helm: Inserts ROUTES_FILE=routes.platform immediately after the existing SUBFOLDER entry in the env: block of the admin-ui, login-ui, and end-user-ui container specs in charts/identity-platform/templates. ref: FORGEOPS-6701
1 parent 0713c85 commit b766053

6 files changed

Lines changed: 12 additions & 0 deletions

File tree

charts/identity-platform/templates/admin-ui-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ spec:
7373
env:
7474
- name: SUBFOLDER
7575
value: platform
76+
- name: ROUTES_FILE
77+
value: routes.platform
7678
envFrom:
7779
- configMapRef:
7880
name: platform-config

charts/identity-platform/templates/end-user-ui-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ spec:
7373
env:
7474
- name: SUBFOLDER
7575
value: enduser
76+
- name: ROUTES_FILE
77+
value: routes.platform
7678
envFrom:
7779
- configMapRef:
7880
name: platform-config

charts/identity-platform/templates/login-ui-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ spec:
7373
env:
7474
- name: SUBFOLDER
7575
value: "am/XUI"
76+
- name: ROUTES_FILE
77+
value: routes.platform
7678
envFrom:
7779
- configMapRef:
7880
name: platform-config

kustomize/base/admin-ui/admin-ui-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ spec:
6767
env:
6868
- name: SUBFOLDER
6969
value: platform
70+
- name: ROUTES_FILE
71+
value: routes.platform
7072
envFrom:
7173
- configMapRef:
7274
name: platform-config

kustomize/base/end-user-ui/end-user-ui-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ spec:
6767
env:
6868
- name: SUBFOLDER
6969
value: enduser
70+
- name: ROUTES_FILE
71+
value: routes.platform
7072
envFrom:
7173
- configMapRef:
7274
name: platform-config

kustomize/base/login-ui/login-ui-deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ spec:
6767
env:
6868
- name: SUBFOLDER
6969
value: am/XUI
70+
- name: ROUTES_FILE
71+
value: routes.platform
7072
envFrom:
7173
- configMapRef:
7274
name: platform-config

0 commit comments

Comments
 (0)