Remove namespace so helm install it (#4)
* Remove namespace so helm install it Signed-off-by: Alexandre Peixoto Ferreira <alexandref75@gmail.com> * Fix nodeSelector (Bug #9027 helm) Signed-off-by: Alexandre Peixoto Ferreira <alexandref75@gmail.com> Signed-off-by: Alexandre Peixoto Ferreira <alexandref75@gmail.com>
This commit is contained in:
committed by
GitHub
parent
b5831bf03f
commit
ece70f1a37
@@ -2,7 +2,6 @@ apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
name: {{ .Values.application.appName }}
|
||||
namespace: {{ .Values.application.namespace }}
|
||||
labels:
|
||||
name: {{ .Values.application.appName }}
|
||||
role: agent
|
||||
@@ -20,7 +19,11 @@ spec:
|
||||
node.kubernetes.io/bootstrap-checkpoint: "true"
|
||||
spec:
|
||||
nodeSelector:
|
||||
{{- toYaml .Values.configuration.nodeSelector | nindent 8 }}
|
||||
{{- if .Values.nodeSelector }}
|
||||
{{- toYaml .Values.nodeSelector | nindent 8 }}
|
||||
{{- else }}
|
||||
smarter.device-manager: enabled
|
||||
{{- end }}
|
||||
tolerations:
|
||||
- key: "smarter.type"
|
||||
operator: "Equal"
|
||||
|
||||
Reference in New Issue
Block a user