From bd71660095b0bfe33565afbeeb3c211ca814f8d6 Mon Sep 17 00:00:00 2001 From: Ohad Koren Date: Wed, 27 Mar 2024 10:27:40 +0200 Subject: [PATCH] Kubernetes settings fix --- portal/docker-entrypoint.sh | 1 + run/kubernetes/charts/api/values.yaml | 1 + run/kubernetes/charts/portal/values.yaml | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/portal/docker-entrypoint.sh b/portal/docker-entrypoint.sh index a926b0e6..ca426bd1 100644 --- a/portal/docker-entrypoint.sh +++ b/portal/docker-entrypoint.sh @@ -17,4 +17,5 @@ case ${1} in ;; esac +chmod -R 755 /usr/share/nginx/html/qujata nginx -g 'daemon off;' diff --git a/run/kubernetes/charts/api/values.yaml b/run/kubernetes/charts/api/values.yaml index bde764e4..79d9d0d5 100644 --- a/run/kubernetes/charts/api/values.yaml +++ b/run/kubernetes/charts/api/values.yaml @@ -39,6 +39,7 @@ env: LOG_LEVEL: INFO ENVIRONMENT: kubernetes CURL_URL: http://qujata-curl:3010 + CADVISOR_URL: http://qujata-cadvisor:8080 PROMETHEUS_URL: http://qujata-prometheus:9090 ITERATIONS_OPTIONS: 100:500:1000:2000:5000:10000:50000 MESSAGE_SIZES_OPTIONS: 0:1:2:100:1024:102400:204800:1048576:2097152:10485760 diff --git a/run/kubernetes/charts/portal/values.yaml b/run/kubernetes/charts/portal/values.yaml index 1a947411..158b1016 100644 --- a/run/kubernetes/charts/portal/values.yaml +++ b/run/kubernetes/charts/portal/values.yaml @@ -36,8 +36,8 @@ securityContext: {} # runAsNonRoot: true # runAsUser: 1000 env: - PQC_PORTAL__DASHBOARD_LINK_HOST: http://localhost:3000/grafana - PQC_PORTAL__BASE_API_URL: http://localhost:3020/qujata-api + PQC_PORTAL__DASHBOARD_LINK_HOST: http://qujata-grafana:3000/grafana + PQC_PORTAL__BASE_API_URL: http://qujata-api:3020/qujata-api