From afcaee790303f387b2e65b30211e4dcabd333e12 Mon Sep 17 00:00:00 2001 From: Ramit Goolry <93002515+ramit-wandb@users.noreply.github.com> Date: Fri, 10 May 2024 03:19:54 +0530 Subject: [PATCH] fix: mount redis ca cert to backfiller (#122) --- charts/operator-wandb/Chart.yaml | 2 +- charts/operator-wandb/charts/parquet/templates/cron.yaml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/charts/operator-wandb/Chart.yaml b/charts/operator-wandb/Chart.yaml index 1c8f5a36..7b7aae13 100644 --- a/charts/operator-wandb/Chart.yaml +++ b/charts/operator-wandb/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: operator-wandb description: A Helm chart for deploying W&B to Kubernetes type: application -version: 0.12.10 +version: 0.12.11 appVersion: 1.0.0 icon: https://wandb.ai/logo.svg diff --git a/charts/operator-wandb/charts/parquet/templates/cron.yaml b/charts/operator-wandb/charts/parquet/templates/cron.yaml index 69b789f5..58c34b8f 100644 --- a/charts/operator-wandb/charts/parquet/templates/cron.yaml +++ b/charts/operator-wandb/charts/parquet/templates/cron.yaml @@ -43,13 +43,18 @@ spec: containers: - name: backfill-job image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + volumeMounts: + {{- if ne (include "wandb.redis.caCert" .) "" }} + - name: {{ include "parquet.fullname" . }}-redis-ca + mountPath: /etc/ssl/certs/redis_ca.pem + subPath: redis_ca.pem + {{- end }} command: [ "/sbin/my_init", "--skip-runit", "megabinary", "glue", ] - env: - name: GORILLA_GLUE_EXECUTE value: "true"