From eaec78fa33e664c5e816425380b3fb3de93edd9d Mon Sep 17 00:00:00 2001 From: Dilip <116056239+dt-dilip@users.noreply.github.com> Date: Fri, 21 Jun 2024 03:23:00 +0530 Subject: [PATCH] update --- charts/cdefense/templates/api/deployment.yaml | 7 ++++++- charts/cdefense/templates/config.yaml | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/charts/cdefense/templates/api/deployment.yaml b/charts/cdefense/templates/api/deployment.yaml index 9b524fc..dbd45f5 100644 --- a/charts/cdefense/templates/api/deployment.yaml +++ b/charts/cdefense/templates/api/deployment.yaml @@ -186,6 +186,11 @@ spec: secretKeyRef: key: DB_PASSWORD name: cdefense-secrets + - name: OUTSIDE + valueFrom: + configMapKeyRef: + name: cdefense-config + key: OUTSIDE - name: CLOUDDEFENSE_HEROKUAPP_GRAPHQL_URL valueFrom: configMapKeyRef: @@ -414,7 +419,7 @@ spec: name: graphql-secrets key: HASURA_GRAPHQL_ADMIN_SECRET - name: PORT - value: "8081" + value: "8080" - name: VULNERABILITY_SCRAPER_SERVICE_HOST valueFrom: configMapKeyRef: diff --git a/charts/cdefense/templates/config.yaml b/charts/cdefense/templates/config.yaml index bf4662f..1e196f7 100644 --- a/charts/cdefense/templates/config.yaml +++ b/charts/cdefense/templates/config.yaml @@ -89,4 +89,4 @@ data: CLOUDDEFENSE_WEBCONSOLE_ONPREM_ENABLED: cdefense CUSTOM_VENDOR: "" GPT_BASE_URL: "http://ai/" - OUTSIDE : "https://console.clouddefenseai.com" \ No newline at end of file + OUTSIDE : "https://{{ .Values.hostname }}" \ No newline at end of file