From bfbdaecc1ce72c0105858df58c4251807491af12 Mon Sep 17 00:00:00 2001 From: Zachary Blasczyk <77289967+wandb-zacharyblasczyk@users.noreply.github.com> Date: Mon, 29 Jan 2024 00:47:57 -0600 Subject: [PATCH] fix: Checksum for License to force pod restart (#66) --- charts/operator-wandb/Chart.yaml | 2 +- charts/operator-wandb/charts/app/templates/deployment.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/operator-wandb/Chart.yaml b/charts/operator-wandb/Chart.yaml index 363245ab..324618b4 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.10.38 +version: 0.10.39 appVersion: 1.0.0 icon: https://wandb.ai/logo.svg diff --git a/charts/operator-wandb/charts/app/templates/deployment.yaml b/charts/operator-wandb/charts/app/templates/deployment.yaml index 71d8b159..478fa303 100644 --- a/charts/operator-wandb/charts/app/templates/deployment.yaml +++ b/charts/operator-wandb/charts/app/templates/deployment.yaml @@ -13,6 +13,7 @@ metadata: {{- end }} annotations: {{- include "wandb.deploymentAnnotations" $ | nindent 4 }} + checksum/license: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }} {{- if .Values.deployment.annotations -}} {{- toYaml .Values.deployment.annotations | nindent 4 }} {{- end }}