Skip to content

Commit

Permalink
chore: Remove statd host port if otel is not enabled (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshg authored Dec 13, 2023
1 parent 6a25b12 commit c86872c
Show file tree
Hide file tree
Showing 2 changed files with 6 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.28
version: 0.10.29
appVersion: 1.0.0
icon: https://wandb.ai/logo.svg

Expand Down
6 changes: 5 additions & 1 deletion charts/operator-wandb/charts/app/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,15 @@ spec:

- name: GORILLA_SESSION_LENGTH
value: "{{ .Values.global.auth.sessionLengthHours }}h"


{{- if and .Values.global .Values.global.observability }}
{{- if eq (default "custom" .Values.global.observability.mode) "otel" }}
- name: GORILLA_STATSD_PORT
value: "8125"
- name: GORILLA_STATSD_HOST
value: "0.0.0.0"
{{- end }}
{{- end }}

- name: BUCKET
value: "{{ include "app.bucket" . }}"
Expand Down

0 comments on commit c86872c

Please sign in to comment.