From d2520f0986f9ce2ba5499507d701376550151ff5 Mon Sep 17 00:00:00 2001 From: Justin Brooks Date: Wed, 23 Aug 2023 22:22:43 -0400 Subject: [PATCH] fix: add service account to console deployment --- charts/operator-wandb/Chart.yaml | 2 +- charts/operator-wandb/charts/console/templates/deployment.yaml | 1 + charts/operator-wandb/templates/ingress.yaml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/operator-wandb/Chart.yaml b/charts/operator-wandb/Chart.yaml index 038c491a..15db8eb8 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.1.6 +version: 0.1.7 appVersion: 1.0.0 icon: https://wandb.ai/logo.svg maintainers: diff --git a/charts/operator-wandb/charts/console/templates/deployment.yaml b/charts/operator-wandb/charts/console/templates/deployment.yaml index 23b9d628..9fe832b2 100644 --- a/charts/operator-wandb/charts/console/templates/deployment.yaml +++ b/charts/operator-wandb/charts/console/templates/deployment.yaml @@ -34,6 +34,7 @@ spec: {{- toYaml .Values.pod.annotations | nindent 4 }} {{- end }} spec: + automountServiceAccountToken: {{ include "console.fullname" . }} {{- if .tolerations }} tolerations: {{- toYaml .tolerations | nindent 8 }} diff --git a/charts/operator-wandb/templates/ingress.yaml b/charts/operator-wandb/templates/ingress.yaml index 127b8636..e7eac12b 100644 --- a/charts/operator-wandb/templates/ingress.yaml +++ b/charts/operator-wandb/templates/ingress.yaml @@ -1,7 +1,7 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: - name: {{ include "wandb.name" . }} + name: {{ .Release.Name }} labels: {{- include "wandb.commonLabels" . | nindent 4 }} {{- if .Values.ingress.labels -}}