From cebe5cd92ad6d5dd7ef5d9c21f5ed3a9b757e373 Mon Sep 17 00:00:00 2001 From: Aditya Choudhari Date: Mon, 20 Oct 2025 11:28:13 -0700 Subject: [PATCH] chore: remove redis --- charts/ctrlplane/Chart.yaml | 2 +- .../ctrlplane/charts/event-queue/templates/deployment.yaml | 5 ----- charts/ctrlplane/charts/jobs/templates/policy-checker.yaml | 5 ----- charts/ctrlplane/charts/jobs/templates/timeout-checker.yaml | 5 ----- charts/ctrlplane/charts/pty-proxy/templates/deployment.yaml | 5 ----- charts/ctrlplane/charts/webservice/templates/deployment.yaml | 5 ----- .../charts/workspace-engine/templates/statefulset.yaml | 5 ----- charts/ctrlplane/templates/_redis.tpl | 3 --- charts/ctrlplane/templates/secrets.yaml | 1 - charts/ctrlplane/values.yaml | 5 ----- 10 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 charts/ctrlplane/templates/_redis.tpl diff --git a/charts/ctrlplane/Chart.yaml b/charts/ctrlplane/Chart.yaml index da90037..4e11747 100644 --- a/charts/ctrlplane/Chart.yaml +++ b/charts/ctrlplane/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: ctrlplane description: Ctrlplane Helm chart for Kubernetes type: application -version: 0.5.0 +version: 0.5.1 appVersion: "1.16.0" maintainers: diff --git a/charts/ctrlplane/charts/event-queue/templates/deployment.yaml b/charts/ctrlplane/charts/event-queue/templates/deployment.yaml index 9b7028f..85097a4 100644 --- a/charts/ctrlplane/charts/event-queue/templates/deployment.yaml +++ b/charts/ctrlplane/charts/event-queue/templates/deployment.yaml @@ -61,11 +61,6 @@ spec: env: - name: KAFKA_BROKERS value: {{ .Values.global.kafkaBrokers | quote }} - - name: REDIS_URL - valueFrom: - secretKeyRef: - name: {{ .Release.Name }}-connections - key: REDIS_URL - name: POSTGRES_URL valueFrom: secretKeyRef: diff --git a/charts/ctrlplane/charts/jobs/templates/policy-checker.yaml b/charts/ctrlplane/charts/jobs/templates/policy-checker.yaml index feefdb8..abdd7cd 100644 --- a/charts/ctrlplane/charts/jobs/templates/policy-checker.yaml +++ b/charts/ctrlplane/charts/jobs/templates/policy-checker.yaml @@ -27,11 +27,6 @@ spec: env: - name: KAFKA_BROKERS value: {{ .Values.global.kafkaBrokers | quote }} - - name: REDIS_URL - valueFrom: - secretKeyRef: - name: {{ .Release.Name }}-connections - key: REDIS_URL - name: POSTGRES_URL valueFrom: secretKeyRef: diff --git a/charts/ctrlplane/charts/jobs/templates/timeout-checker.yaml b/charts/ctrlplane/charts/jobs/templates/timeout-checker.yaml index d339fe5..e4fb600 100644 --- a/charts/ctrlplane/charts/jobs/templates/timeout-checker.yaml +++ b/charts/ctrlplane/charts/jobs/templates/timeout-checker.yaml @@ -27,11 +27,6 @@ spec: env: - name: KAFKA_BROKERS value: {{ .Values.global.kafkaBrokers | quote }} - - name: REDIS_URL - valueFrom: - secretKeyRef: - name: {{ .Release.Name }}-connections - key: REDIS_URL - name: POSTGRES_URL valueFrom: secretKeyRef: diff --git a/charts/ctrlplane/charts/pty-proxy/templates/deployment.yaml b/charts/ctrlplane/charts/pty-proxy/templates/deployment.yaml index 406647d..e8d0400 100644 --- a/charts/ctrlplane/charts/pty-proxy/templates/deployment.yaml +++ b/charts/ctrlplane/charts/pty-proxy/templates/deployment.yaml @@ -55,11 +55,6 @@ spec: path: /api/v1/resources/proxy/health port: http env: - - name: REDIS_URL - valueFrom: - secretKeyRef: - name: {{ .Release.Name }}-connections - key: REDIS_URL - name: POSTGRES_URL valueFrom: secretKeyRef: diff --git a/charts/ctrlplane/charts/webservice/templates/deployment.yaml b/charts/ctrlplane/charts/webservice/templates/deployment.yaml index c94a24e..093e972 100644 --- a/charts/ctrlplane/charts/webservice/templates/deployment.yaml +++ b/charts/ctrlplane/charts/webservice/templates/deployment.yaml @@ -83,11 +83,6 @@ spec: - name: KAFKA_BROKERS value: {{ .Values.global.kafkaBrokers | quote }} - - name: REDIS_URL - valueFrom: - secretKeyRef: - name: {{ .Release.Name }}-connections - key: REDIS_URL - name: POSTGRES_URL valueFrom: secretKeyRef: diff --git a/charts/ctrlplane/charts/workspace-engine/templates/statefulset.yaml b/charts/ctrlplane/charts/workspace-engine/templates/statefulset.yaml index 037810f..753685d 100644 --- a/charts/ctrlplane/charts/workspace-engine/templates/statefulset.yaml +++ b/charts/ctrlplane/charts/workspace-engine/templates/statefulset.yaml @@ -52,11 +52,6 @@ spec: fieldPath: metadata.name - name: KAFKA_PARTITION_ID value: "$(echo $POD_NAME | sed 's/.*-//')" - - name: REDIS_URL - valueFrom: - secretKeyRef: - name: {{ .Release.Name }}-connections - key: REDIS_URL - name: POSTGRES_URL valueFrom: secretKeyRef: diff --git a/charts/ctrlplane/templates/_redis.tpl b/charts/ctrlplane/templates/_redis.tpl deleted file mode 100644 index 4950530..0000000 --- a/charts/ctrlplane/templates/_redis.tpl +++ /dev/null @@ -1,3 +0,0 @@ -{{- define "ctrlplane.redisUrl" -}} -{{- printf "redis://:%s@%s:%s" .Values.global.redis.password .Values.global.redis.host (toString .Values.global.redis.port) -}} -{{- end -}} \ No newline at end of file diff --git a/charts/ctrlplane/templates/secrets.yaml b/charts/ctrlplane/templates/secrets.yaml index 9a71948..f8da9dd 100644 --- a/charts/ctrlplane/templates/secrets.yaml +++ b/charts/ctrlplane/templates/secrets.yaml @@ -8,7 +8,6 @@ metadata: "helm.sh/hook": pre-install,pre-upgrade data: POSTGRES_URL: {{ include "ctrlplane.postgresqlUrl" . | b64enc }} - REDIS_URL: {{ include "ctrlplane.redisUrl" . | b64enc }} {{- if .Values.global.integrations.github.bot.clientSecret }} GITHUB_BOT_CLIENT_SECRET: {{ .Values.global.integrations.github.bot.clientSecret | b64enc }} {{- end }} diff --git a/charts/ctrlplane/values.yaml b/charts/ctrlplane/values.yaml index d6d8805..b3b14bc 100644 --- a/charts/ctrlplane/values.yaml +++ b/charts/ctrlplane/values.yaml @@ -20,11 +20,6 @@ global: labels: {} annotations: {} - redis: - host: "" - port: "6379" - password: "" - postgresql: user: "ctrlplane" password: "ctrlplane"