Skip to content

Commit

Permalink
helm: support adding labels to models
Browse files Browse the repository at this point in the history
  • Loading branch information
samos123 committed Dec 4, 2024
1 parent 5c73336 commit 0aca46c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/models/templates/models.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ apiVersion: kubeai.org/v1
kind: Model
metadata:
name: {{ $name }}
{{- with $model.labels }}
labels:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
features: {{ $model.features }}
{{- with $model.owner }}
Expand Down

0 comments on commit 0aca46c

Please sign in to comment.