From 3cb613281a79fd3aa880355b88606c3bb483ba33 Mon Sep 17 00:00:00 2001 From: Riccardo Schirone <562321+ret2libc@users.noreply.github.com> Date: Thu, 2 Oct 2025 15:07:40 +0200 Subject: [PATCH] deployment: remove a few warnings during deployment (#366) --- deployment/k8s/charts/competition-api/values.yaml | 1 - deployment/k8s/charts/coverage-bot/templates/deployment.yaml | 2 -- deployment/k8s/charts/fuzzer-bot/templates/deployment.yaml | 2 -- deployment/k8s/charts/tracer-bot/templates/deployment.yaml | 2 -- deployment/k8s/values.yaml | 5 ----- 5 files changed, 12 deletions(-) diff --git a/deployment/k8s/charts/competition-api/values.yaml b/deployment/k8s/charts/competition-api/values.yaml index 09cb45a6..902b15a1 100644 --- a/deployment/k8s/charts/competition-api/values.yaml +++ b/deployment/k8s/charts/competition-api/values.yaml @@ -15,4 +15,3 @@ resources: nodeSelector: {} tolerations: [] -affinity: {} diff --git a/deployment/k8s/charts/coverage-bot/templates/deployment.yaml b/deployment/k8s/charts/coverage-bot/templates/deployment.yaml index 2c84aaee..04d29dea 100644 --- a/deployment/k8s/charts/coverage-bot/templates/deployment.yaml +++ b/deployment/k8s/charts/coverage-bot/templates/deployment.yaml @@ -34,9 +34,7 @@ spec: - name: BUTTERCUP_FUZZER_SAMPLE_SIZE value: "{{ .Values.global.coverageBot.sampleSize }}" {{- include "buttercup.commonEnv" . | nindent 8 }} - {{- include "buttercup.env.nodeData" . | nindent 8 }} {{- include "buttercup.env.dockerSocket" . | nindent 8 }} - {{- include "buttercup.env.telemetry" . | nindent 8 }} volumes: {{- include "buttercup.volumes.scratch" . | nindent 6 }} {{- include "buttercup.volumes.tasks" . | nindent 6 }} diff --git a/deployment/k8s/charts/fuzzer-bot/templates/deployment.yaml b/deployment/k8s/charts/fuzzer-bot/templates/deployment.yaml index 6b1f331e..775675e2 100644 --- a/deployment/k8s/charts/fuzzer-bot/templates/deployment.yaml +++ b/deployment/k8s/charts/fuzzer-bot/templates/deployment.yaml @@ -32,9 +32,7 @@ spec: failureThreshold: {{ .Values.healthCheck.failureThreshold | default 2 }} env: {{- include "buttercup.commonEnv" . | nindent 8 }} - {{- include "buttercup.env.nodeData" . | nindent 8 }} {{- include "buttercup.fuzzerBotEnv" . | nindent 8 }} - {{- include "buttercup.env.telemetry" . | nindent 8 }} resources: {{- toYaml .Values.resources | nindent 10 }} volumeMounts: diff --git a/deployment/k8s/charts/tracer-bot/templates/deployment.yaml b/deployment/k8s/charts/tracer-bot/templates/deployment.yaml index eef25605..534b1e34 100644 --- a/deployment/k8s/charts/tracer-bot/templates/deployment.yaml +++ b/deployment/k8s/charts/tracer-bot/templates/deployment.yaml @@ -40,8 +40,6 @@ spec: env: {{- include "buttercup.commonEnv" . | nindent 8 }} {{- include "buttercup.env.dockerSocket" . | nindent 8 }} - {{- include "buttercup.env.nodeData" . | nindent 8 }} - {{- include "buttercup.env.telemetry" . | nindent 8 }} volumes: {{- include "buttercup.volumes.scratch" . | nindent 6 }} {{- include "buttercup.volumes.tasks" . | nindent 6 }} diff --git a/deployment/k8s/values.yaml b/deployment/k8s/values.yaml index ba86d490..4995b478 100644 --- a/deployment/k8s/values.yaml +++ b/deployment/k8s/values.yaml @@ -256,11 +256,6 @@ litellm-helm: database: "litellm" url: "postgresql://litellm_user:litellm_password11@buttercup-litellm-postgresql:5432/litellm" - # Environment variables - only keep DATABASE_URL as backup - envVars: - DATABASE_URL: "postgresql://litellm_user:litellm_password11@buttercup-litellm-postgresql:5432/litellm" - # API keys are now provided through Kubernetes secrets - # Use environment secrets for API keys # For subcharts, we need to use a static name that will be templated at the parent level environmentSecrets: