From f39f42c5dc0ceccf5145b7cc870029f015aa7a7a Mon Sep 17 00:00:00 2001 From: Zachary Blasczyk <77289967+wandb-zacharyblasczyk@users.noreply.github.com> Date: Tue, 16 Apr 2024 11:46:28 -0500 Subject: [PATCH] feat: Allow ingress to be disabled for customers using Istio (#114) --- charts/operator-wandb/Chart.yaml | 2 +- charts/operator-wandb/templates/ingress.yaml | 4 +++- charts/operator-wandb/values.yaml | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/charts/operator-wandb/Chart.yaml b/charts/operator-wandb/Chart.yaml index afbc6f01..425fddbf 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.6 +version: 0.12.7 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 0985b62c..b204845f 100644 --- a/charts/operator-wandb/templates/ingress.yaml +++ b/charts/operator-wandb/templates/ingress.yaml @@ -20,6 +20,7 @@ spec: ingress: class: {{ .Values.ingress.class }} {{- end }} +{{- if .Values.ingress.install }} --- apiVersion: networking.k8s.io/v1 kind: Ingress @@ -77,4 +78,5 @@ spec: name: {{ $.Release.Name }}-console port: number: 8082 - {{- end }} \ No newline at end of file + {{- end }} +{{- end }} diff --git a/charts/operator-wandb/values.yaml b/charts/operator-wandb/values.yaml index a694163e..5cd27b1a 100644 --- a/charts/operator-wandb/values.yaml +++ b/charts/operator-wandb/values.yaml @@ -103,6 +103,7 @@ global: runUpdatesShadowTopic: "" ingress: + install: true nameOverride: "" defaultBackend: "app" annotations: {}