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:
Alexandre Peixoto Ferreira
2022-11-07 12:42:38 -06:00
committed by GitHub
parent b5831bf03f
commit ece70f1a37
4 changed files with 6 additions and 9 deletions

View File

@@ -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"