From d49fa4257e20453210832122d9164d3cab24c845 Mon Sep 17 00:00:00 2001 From: Jiahui Hu Date: Wed, 19 Feb 2025 13:05:57 -0500 Subject: [PATCH] [PD] Fix sep24-reference-ui-config is missing error (#1632) ### Description The env var has moved to value file, this sep24-reference-ui-config is no longer needed ### Context - Some changes were override in last PR ### Testing - new ui container started successfully on local --- .../sep24-reference-ui/templates/deployment.yaml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/helm-charts/sep24-reference-ui/templates/deployment.yaml b/helm-charts/sep24-reference-ui/templates/deployment.yaml index c79aefe13..68a5ecf5e 100644 --- a/helm-charts/sep24-reference-ui/templates/deployment.yaml +++ b/helm-charts/sep24-reference-ui/templates/deployment.yaml @@ -33,22 +33,11 @@ spec: protocol: TCP env: - name: BUSINESS_SERVER_ENDPOINT - valueFrom: - configMapKeyRef: - name: sep24-reference-ui-config - key: BUSINESS_SERVER_ENDPOINT + value: {{ .Values.config.businessServerEndpoint }} resources: requests: memory: {{ .Values.services.ui.deployment.resources.requests.memory }} cpu: {{ .Values.services.ui.deployment.resources.requests.cpu }} limits: memory: {{ .Values.services.ui.deployment.resources.limits.memory }} - cpu: {{ .Values.services.ui.deployment.resources.limits.cpu }} - volumeMounts: - - name: config-volume - mountPath: /config - readOnly: true - volumes: - - name: config-volume - configMap: - name: sep24-reference-ui-config + cpu: {{ .Values.services.ui.deployment.resources.limits.cpu }} \ No newline at end of file