Skip to content

Commit

Permalink
Updated env variable for auth and api service
Browse files Browse the repository at this point in the history
  • Loading branch information
dt-dilip committed Oct 18, 2024
1 parent c309d36 commit 2410129
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion charts/cdefense/templates/api/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ data:
K8_RESOURCES_LIMIT_MEMORY: {{ .Values.api.job.resource.memory.limit }}
DATAJOB_WEBHOOK_URL: "https://discord.com/api/webhooks/1006160865386582077/HndjuqofW-wYXspUb5_iv-AJN46UojZZvQDksz1a2cgvx1Q1lUJkdZ_IhZrlsh_ytKKO"
PROFILER_WEBHOOK_URL: "https://discord.com/api/webhooks/1102883054806114375/DwZqyzMTpYf66kMyQ47b7lgFLNFGfqmxQxEBfnfOZtH6cMJIFzoNw17pmQnG9OmNk9Tv"
CLOUDDEFENSE_SENDGRID_EMAIL: "[email protected]"
CLOUDDEFENSE_SENDGRID_EMAIL: "[email protected]"
MICRONAUT_ENVIRONMENTS: {{ .Values.api.environment | default "dev" }}
2 changes: 1 addition & 1 deletion charts/cdefense/templates/api/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ spec:
- name: MICRONAUT_ENVIRONMENTS
valueFrom:
configMapKeyRef:
name: authservice-config
name: scan-server-config
key: MICRONAUT_ENVIRONMENTS
- name: CLOUDDEFENSE_BASE_URL
valueFrom:
Expand Down
3 changes: 2 additions & 1 deletion charts/cdefense/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ authservice:
tolerations: []
replicas: 1
image: cdefense/auth-service
environment: prod
environment: dev
realm: cdefense
service:
type: NodePort
Expand All @@ -93,6 +93,7 @@ api:
nodeSelector: cdefense
tolerations: []
image: cdefense/scan-api
environment: prod
service:
type: NodePort
ports:
Expand Down

0 comments on commit 2410129

Please sign in to comment.