Skip to content

Commit

Permalink
Addressed code review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Vadym Fedorov <[email protected]>
  • Loading branch information
nvvfedorov committed Apr 3, 2024
1 parent 26eaffe commit 7409eac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions deployment/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,18 +78,18 @@ spec:
- name: "pod-gpu-resources"
hostPath:
path: {{ .Values.kubeletPath }}
{{- if and .Values.tlsServerConfig.enabled }}
{{- if and .Values.tlsServerConfig.enabled }}
- name: "tls"
secret:
secretName: {{ include "dcgm-exporter.tlsCertsSecretName" . }}
defaultMode: 0664
{{- end }}
{{- if or .Values.tlsServerConfig.enabled $.Values.basicAuth.users}}
{{- end }}
{{- if or .Values.tlsServerConfig.enabled $.Values.basicAuth.users}}
- name: "web-config-yaml"
configMap:
name: {{ include "dcgm-exporter.webConfigConfigMap" . }}
defaultMode: 0664
{{- end }}
{{- end }}
{{- range .Values.extraHostVolumes }}
- name: {{ .name | quote }}
hostPath:
Expand Down

0 comments on commit 7409eac

Please sign in to comment.