From c309d36c98c2cdfa354499af6af00a70d1babd3f Mon Sep 17 00:00:00 2001 From: Dilip <116056239+dt-dilip@users.noreply.github.com> Date: Tue, 15 Oct 2024 11:21:01 +0530 Subject: [PATCH] Added env to api pod --- charts/cdefense/templates/api/deployment.yaml | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/charts/cdefense/templates/api/deployment.yaml b/charts/cdefense/templates/api/deployment.yaml index 8ff97eb..600e722 100644 --- a/charts/cdefense/templates/api/deployment.yaml +++ b/charts/cdefense/templates/api/deployment.yaml @@ -323,11 +323,6 @@ spec: secretKeyRef: name: vulnscrape-secrets key: VULNERABILITY_SCRAPER_SERVICE_TOKEN - - name: DATAJOB_WEBHOOK_URL - valueFrom: - configMapKeyRef: - name: scan-server-config - key: DATAJOB_WEBHOOK_URL - name: NVD_KEY valueFrom: secretKeyRef: @@ -338,6 +333,21 @@ spec: configMapKeyRef: name: authservice-config key: MICRONAUT_ENVIRONMENTS + - name: CLOUDDEFENSE_BASE_URL + valueFrom: + configMapKeyRef: + name: cdefense-config + key: CLOUDDEFENSE_BASE_URL + - name: OUTSIDE + valueFrom: + configMapKeyRef: + name: cdefense-config + key: OUTSIDE + - name: VFEED_SYNC_JOB_CRON_EXPRESSION + valueFrom: + configMapKeyRef: + name: scan-server-config + key: DATA_VFEED_SQLITE_FULL_REFRESH_CRON_EXPRESSION ports: - containerPort: 8080 livenessProbe: