Skip to content

Commit

Permalink
feat: Add gcp Security Policy to wandb-base (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
dacbd authored Feb 3, 2025
1 parent 28b919d commit cba096e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/wandb-base/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: wandb-base
description: A generic helm chart for deploying services to kubernetes
type: application
version: 0.4.0
version: 0.4.1
icon: https://wandb.ai/logo.svg

maintainers:
Expand Down
6 changes: 4 additions & 2 deletions charts/wandb-base/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{{- if .Values.service.enabled }}
{{- if .Values.global.createGCPLoadBalancerBackend }}
{{- if eq .Values.global.cloudProvider "gcp" }}
---
apiVersion: cloud.google.com/v1
Expand All @@ -9,9 +8,12 @@ metadata:
labels:
{{- include "wandb-base.labels" . | nindent 4 }}
spec:
{{- if .Values.global.gcpSecurityPolicy }}
securityPolicy:
name: {{ .Values.global.gcpSecurityPolicy }}
{{- end }}
timeoutSec: 120
{{- end }}
{{- end }}
---
apiVersion: v1
kind: Service
Expand Down

0 comments on commit cba096e

Please sign in to comment.