Skip to content

Commit

Permalink
fix: Parquet service pod selector is not specific enough (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpanzella authored Aug 27, 2024
1 parent 66934db commit 11c5352
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
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.17.5
version: 0.17.6
appVersion: 1.0.0
icon: https://wandb.ai/logo.svg

Expand Down
2 changes: 2 additions & 0 deletions charts/operator-wandb/charts/parquet/templates/cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ kind: CronJob
metadata:
name: {{ include "parquet.fullname" . }}-backfill
labels:
app.kubernetes.io/component: "backfill"
{{- include "wandb.commonLabels" . | nindent 4 }}
{{- include "parquet.commonLabels" . | nindent 4 }}
{{- include "parquet.labels" . | nindent 4 }}
Expand All @@ -24,6 +25,7 @@ spec:
template:
metadata:
labels:
app.kubernetes.io/component: "backfill"
{{- include "wandb.podLabels" . | nindent 12 }}
{{- include "parquet.commonLabels" . | nindent 12 }}
{{- include "parquet.podLabels" . | nindent 12 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ kind: Deployment
metadata:
name: {{ include "parquet.fullname" . }}
labels:
app.kubernetes.io/component: "service"
{{- include "wandb.commonLabels" . | nindent 4 }}
{{- include "parquet.commonLabels" . | nindent 4 }}
{{- include "parquet.labels" . | nindent 4 }}
Expand All @@ -25,6 +26,7 @@ spec:
template:
metadata:
labels:
app.kubernetes.io/component: "service"
{{- include "wandb.podLabels" . | nindent 8 }}
{{- include "parquet.commonLabels" . | nindent 8 }}
{{- include "parquet.podLabels" . | nindent 8 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ spec:
protocol: TCP
name: parquet
selector:
app.kubernetes.io/component: "service"
{{- include "parquet.labels" . | nindent 4 }}

0 comments on commit 11c5352

Please sign in to comment.