From e7b349bafd7129c7ebf88371472a466247f7614d Mon Sep 17 00:00:00 2001 From: Aditya Choudhari <48932219+adityachoudhari26@users.noreply.github.com> Date: Wed, 6 Mar 2024 13:01:38 -0800 Subject: [PATCH] chore: Add nameOverride to ingress (#87) --- charts/operator-wandb/Chart.yaml | 2 +- charts/operator-wandb/templates/ingress.yaml | 2 +- charts/operator-wandb/values.yaml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/operator-wandb/Chart.yaml b/charts/operator-wandb/Chart.yaml index 2df66acb..8bdfc049 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.45 +version: 0.10.46 appVersion: 1.0.0 icon: https://wandb.ai/logo.svg diff --git a/charts/operator-wandb/templates/ingress.yaml b/charts/operator-wandb/templates/ingress.yaml index cd49c9f2..0985b62c 100644 --- a/charts/operator-wandb/templates/ingress.yaml +++ b/charts/operator-wandb/templates/ingress.yaml @@ -24,7 +24,7 @@ spec: apiVersion: networking.k8s.io/v1 kind: Ingress metadata: - name: {{ .Release.Name }} + name: {{ default .Release.Name .Values.ingress.nameOverride }} labels: {{- include "wandb.commonLabels" . | nindent 4 }} {{- if .Values.ingress.labels -}} diff --git a/charts/operator-wandb/values.yaml b/charts/operator-wandb/values.yaml index 674d8162..cfc434df 100644 --- a/charts/operator-wandb/values.yaml +++ b/charts/operator-wandb/values.yaml @@ -75,6 +75,7 @@ global: caCert: "" ingress: + nameOverride: "" defaultBackend: "app" annotations: {} labels: {}