Skip to content

Commit

Permalink
chore: Add nameOverride to ingress (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
adityachoudhari26 authored Mar 6, 2024
1 parent 5ac052c commit e7b349b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/operator-wandb/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion charts/operator-wandb/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}
Expand Down
1 change: 1 addition & 0 deletions charts/operator-wandb/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ global:
caCert: ""

ingress:
nameOverride: ""
defaultBackend: "app"
annotations: {}
labels: {}
Expand Down

0 comments on commit e7b349b

Please sign in to comment.