Skip to content

Commit

Permalink
FIX: Move runtimeClassName option outside of irrelevant if block
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklausbrown committed Jul 18, 2023
1 parent edae9be commit 8ae8317
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deployment/dcgm-exporter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: dcgm-exporter
description: A Helm chart for DCGM exporter
version: "3.1.6"
version: "3.1.7"
kubeVersion: ">= 1.19.0-0"
appVersion: "3.1.5"
sources:
Expand Down
3 changes: 1 addition & 2 deletions deployment/dcgm-exporter/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ spec:
{{- end }}
spec:
priorityClassName: {{ .Values.priorityClassName | default "system-node-critical" }}
{{- if .Values.hostNetwork }}
runtimeClassName: {{ .Values.runtimeClassName }}
{{- if .Values.hostNetwork }}
hostNetwork: {{ .Values.hostNetwork }}
dnsPolicy: ClusterFirstWithHostNet
{{- end }}
Expand Down Expand Up @@ -83,7 +83,6 @@ spec:
{{- end }}
containers:
- name: exporter
runtimeClassName: {{ .Values.runtimeClassName }}
securityContext:
{{- toYaml .Values.securityContext | nindent 10 }}
{{- if .Values.image.tag }}
Expand Down

0 comments on commit 8ae8317

Please sign in to comment.