Skip to content

Commit 27e1638

Browse files
committed
fix: remove VITE_API_BASE_URL and related environment variables from backend and frontend deployment configurations
1 parent 05442a2 commit 27e1638

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

k8s/templates/backend/deployment.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ spec:
3333
key: secret-key
3434
- name: DEBUG
3535
value: {{ .Values.backend.config.debug | default "1" | quote }}
36-
- name: VITE_API_BASE_URL
37-
value: {{ .Values.backend.config.apiBaseUrl | default "https://balancertestsite.com/" | quote }}
3836
- name: DJANGO_ALLOWED_HOSTS
3937
value: {{ .Values.backend.config.allowedHosts | default "*" | quote }}
4038
- name: DATABASE

k8s/templates/frontend/deployment.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ spec:
2525
- name: http
2626
containerPort: 3000
2727
protocol: TCP
28-
env:
29-
- name: CHOKIDAR_USEPOLLING
30-
value: "true"
31-
- name: VITE_API_BASE_URL
32-
value: {{ .Values.frontend.config.apiBaseUrl | default "https://balancertestsite.com/" | quote }}
3328
resources:
3429
requests:
3530
cpu: {{ .Values.frontend.resources.requests.cpu | default "100m" }}

k8s/values.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ backend:
1919
memory: 3Gi
2020
config:
2121
debug: "1"
22-
apiBaseUrl: "https://balancertestsite.com/"
2322
allowedHosts: "*"
2423

2524
frontend:
@@ -38,8 +37,6 @@ frontend:
3837
limits:
3938
cpu: 500m
4039
memory: 512Mi
41-
config:
42-
apiBaseUrl: "https://balancertestsite.com/"
4340
secrets:
4441
apiKey: "" # Example encrypted value
4542

0 commit comments

Comments
 (0)