Skip to content

Commit

Permalink
Merge df61c44 into 15c1c31
Browse files Browse the repository at this point in the history
  • Loading branch information
dacbd authored Feb 1, 2025
2 parents 15c1c31 + df61c44 commit e051166
Show file tree
Hide file tree
Showing 3 changed files with 8 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.ingress.gcpSecurityPolicy }}
securityPolicy:
name: {{ .Values.ingress.gcpSecurityPolicy }}
{{- end }}
timeoutSec: 120
{{- end }}
{{- end }}
---
apiVersion: v1
kind: Service
Expand Down
3 changes: 3 additions & 0 deletions charts/wandb-base/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ service:

# This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/
ingress:
# GCP only value: a CloudArmor policy to be attached to the gce LoadBalancer via a BackendConfig.
# https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-configuration#cloud_armor
gcpSecurityPolicy: ""
enabled: false
className: ""
annotations:
Expand Down

0 comments on commit e051166

Please sign in to comment.