Skip to content

Commit

Permalink
add podAnnotations support to castai-spot-handler (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
vbabitskiy authored Apr 6, 2023
1 parent 5584cc1 commit a1070dc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/castai-spot-handler/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: castai-spot-handler
description: CAST AI spot handler daemonset chart
type: application
version: 0.18.0
version: 0.18.1
appVersion: "v0.11.0"
3 changes: 3 additions & 0 deletions charts/castai-spot-handler/ci/test-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ test:

podLabels:
key: value1

podAnnotations:
key: value
4 changes: 4 additions & 0 deletions charts/castai-spot-handler/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ spec:
{{- with .Values.podLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
serviceAccountName: {{ .Values.serviceAccount.name }}
{{- with .Values.tolerations }}
Expand Down

0 comments on commit a1070dc

Please sign in to comment.