-
Notifications
You must be signed in to change notification settings - Fork 311
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: chipzoller <[email protected]> finalize Signed-off-by: Chip Zoller <[email protected]> fix nil pointer Signed-off-by: Chip Zoller <[email protected]> newline Signed-off-by: chipzoller <[email protected]> empty Signed-off-by: chipzoller <[email protected]> change if Signed-off-by: chipzoller <[email protected]> fix Signed-off-by: chipzoller <[email protected]>
- Loading branch information
1 parent
f759c13
commit 5d73d7f
Showing
3 changed files
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
deployments/gpu-operator/templates/dcgm_exporter_config.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{{- if .Values.dcgmExporter.config }} | ||
{{- if and (.Values.dcgmExporter.config.create) (not (empty .Values.dcgmExporter.config.data)) }} | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: {{ .Values.dcgmExporter.config.name }} | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
{{- include "gpu-operator.labels" . | nindent 4 }} | ||
data: | ||
dcgm-metrics.csv: | | ||
{{- .Values.dcgmExporter.config.data | nindent 4 }} | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters