Skip to content

Commit d475d77

Browse files
committed
feat(helm): propagate annotations field into the operator HelmChart
1 parent 34c82f0 commit d475d77

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

deployments/gpu-operator/templates/clusterpolicy.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,9 @@ spec:
540540
{{- end }}
541541
dcgmExporter:
542542
enabled: {{ .Values.dcgmExporter.enabled }}
543+
{{- if .Values.dcgmExporter.annotations }}
544+
annotations: {{ toYaml .Values.dcgmExporter.annotations | nindent 6 }}
545+
{{- end }}
543546
{{- if .Values.dcgmExporter.repository }}
544547
repository: {{ .Values.dcgmExporter.repository }}
545548
{{- end }}

deployments/gpu-operator/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ dcgm:
279279

280280
dcgmExporter:
281281
enabled: true
282+
annotations: {}
282283
repository: nvcr.io/nvidia/k8s
283284
image: dcgm-exporter
284285
version: 4.5.1-4.8.0-distroless

0 commit comments

Comments
 (0)