Skip to content

Commit

Permalink
fix: Proper OIDC config
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Sep 1, 2023
1 parent 3c6f236 commit 3fb6153
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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.7.3
version: 0.7.4
appVersion: 1.0.0
icon: https://wandb.ai/logo.svg

Expand Down
6 changes: 2 additions & 4 deletions charts/operator-wandb/charts/app/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ spec:
protocol: TCP
env:
- name: HOST
value: {{ .Values.host }}
value: "{{ .Values.global.host }}"

{{- if .Values.extraCors }}
- name: GORILLA_CORS_ORIGINS
Expand Down Expand Up @@ -144,12 +144,10 @@ spec:
key: LICENSE
optional: true

- name: OIDC_SECRET
value: {{ .Values.global.auth.oidc.secret }}
- name: OIDC_CLIENT_ID
value: {{ .Values.global.auth.oidc.clientId }}
- name: OIDC_AUTH_METHOD
value: {{ .Values.global.auth.oidc.authMethod }}
value: {{ .Values.global.auth.oidc.method }}
- name: OIDC_ISSUER
value: {{ .Values.global.auth.oidc.issuer }}

Expand Down
2 changes: 2 additions & 0 deletions charts/operator-wandb/charts/weave/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ metadata:
{{- end }}
spec:
replicas: 1
{{- if ne .Values.persistence.accessMode "ReadWriteMany" }}
strategy:
type: Recreate
{{- end }}
selector:
matchLabels:
{{- include "wandb.selectorLabels" $ | nindent 6 }}
Expand Down

0 comments on commit 3fb6153

Please sign in to comment.