Skip to content

Commit 15348d3

Browse files
fix: Local auth fix (#333)
1 parent cb10962 commit 15348d3

File tree

6 files changed

+18
-5
lines changed

6 files changed

+18
-5
lines changed

Diff for: charts/operator-wandb/Chart.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ dependencies:
6363
repository: file://../wandb-base
6464
version: 0.4.1
6565
digest: sha256:d6b5ef46b80814179a954ed674dc248c65cdc8192ead7a11f1df3861da29feed
66-
generated: "2025-02-04T18:10:09.463049-08:00"
66+
generated: "2025-02-05T11:05:02.905698-06:00"

Diff for: charts/operator-wandb/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: operator-wandb
33
description: A Helm chart for deploying W&B to Kubernetes
44
type: application
5-
version: 0.25.1
5+
version: 0.25.2
66
appVersion: 1.0.0
77
icon: https://wandb.ai/logo.svg
88

Diff for: charts/operator-wandb/charts/app/templates/deployment.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ spec:
9393
- name: anaconda
9494
containerPort: 8082
9595
protocol: TCP
96+
- name: local
97+
containerPort: 8083
98+
protocol: TCP
9699
- name: gorilla-statsd
97100
containerPort: 8125
98101
protocol: TCP

Diff for: charts/operator-wandb/charts/app/templates/service.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,8 @@ spec:
4848
- port: 8082
4949
protocol: TCP
5050
name: anaconda
51+
- port: 8083
52+
protocol: TCP
53+
name: local
5154
selector:
5255
{{- include "app.labels" . | nindent 4 }}

Diff for: charts/operator-wandb/templates/session-key.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,5 @@ data:
1414
# Set $gorillaSessionKey to existing secret data or generate a random one when not exists
1515
{{- $gorillaSessionKey := (get $secretData "GORILLA_SESSION_KEY") | default (randAlphaNum 32 | b64enc) }}
1616
GORILLA_SESSION_KEY: {{ $gorillaSessionKey | quote }}
17+
{{- $jwkUrl := ( .Values.global.auth.jwkUrl | default (printf "http://%s-app:8083/api/jwks.json" .Release.Name)) | b64enc }}
18+
GORILLA_AUTH_JWK_URL: {{ $jwkUrl | quote }}

Diff for: charts/operator-wandb/values.yaml

+8-3
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,12 @@ global:
7373

7474
otel:
7575
traces:
76-
host: "" # defaults to the otel-daemonset service
77-
port: 4317 # grpc default is 4317, http default is 4318
78-
proto: "grpc" # grpc, http
76+
# defaults to the otel-daemonset service
77+
host: ""
78+
# grpc default is 4317, http default is 4318
79+
port: 4317
80+
# grpc, http
81+
proto: "grpc"
7982

8083
clickhouse:
8184
install: false
@@ -97,6 +100,8 @@ global:
97100

98101
auth:
99102
sessionLengthHours: 720
103+
# Internal URL for the auth service should be using oidc or auth0
104+
jwkUrl: ""
100105
oidc:
101106
clientId: ""
102107
secret: ""

0 commit comments

Comments
 (0)