diff --git a/deployment/templates/daemonset.yaml b/deployment/templates/daemonset.yaml index bf089f84..13d59afd 100644 --- a/deployment/templates/daemonset.yaml +++ b/deployment/templates/daemonset.yaml @@ -79,7 +79,7 @@ spec: - name: "pod-gpu-resources" hostPath: path: {{ .Values.kubeletPath }} - {{- if and .Values.tlsServerConfig.enabled }} + {{- if .Values.tlsServerConfig.enabled }} - name: "tls" secret: secretName: {{ include "dcgm-exporter.tlsCertsSecretName" . }} @@ -170,7 +170,7 @@ spec: - name: "pod-gpu-resources" readOnly: true mountPath: "/var/lib/kubelet/pod-resources" - {{- if and .Values.tlsServerConfig.enabled }} + {{- if .Values.tlsServerConfig.enabled }} - name: "tls" mountPath: /etc/dcgm-exporter/tls {{- end }} diff --git a/deployment/templates/service.yaml b/deployment/templates/service.yaml index d1d14d65..27ebcc3d 100644 --- a/deployment/templates/service.yaml +++ b/deployment/templates/service.yaml @@ -1,4 +1,4 @@ -{{- if .Values.service.enable }} +{{- if .Values.service.enabled }} # Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/deployment/values.yaml b/deployment/values.yaml index d7af1df8..80393121 100644 --- a/deployment/values.yaml +++ b/deployment/values.yaml @@ -75,7 +75,7 @@ serviceAccount: rollingUpdate: # Specifies maximum number of DaemonSet pods that can be unavailable during the update maxUnavailable: 1 - # Specifies maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update + # Specifies maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during an update maxSurge: 0 # Labels to be added to dcgm-exporter pods @@ -106,7 +106,7 @@ securityContext: # Defines the dcgm-exporter service service: # When enabled, the helm chart will create service - enable: true + enabled: true type: ClusterIP # Accepts either "Cluster" or "Local", choose Local if you want to route internal traffic within the node only internalTrafficPolicy: Cluster