File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
deployment/helm/node-feature-discovery/templates Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -86,12 +86,11 @@ spec:
86
86
- " -instance={{ .Values.master.instance }}"
87
87
{{- end }}
88
88
- " -port={{ .Values.master.port | default " 8080" }}"
89
- {{- if .Values.enableNodeFeatureApi }}
90
- - " -enable-nodefeature-api"
91
- {{- if gt (int .Values.master.replicaCount) 1 }}
89
+ {{- if not .Values.enableNodeFeatureApi }}
90
+ - " -enable-nodefeature-api=false "
91
+ {{- else if gt (int .Values.master.replicaCount) 1 }}
92
92
- " -enable-leader-election"
93
93
{{- end }}
94
- {{- end }}
95
94
{{- if .Values.master.extraLabelNs | empty | not }}
96
95
- " -extra-label-ns={{- join " ," .Values.master.extraLabelNs }}"
97
96
{{- end }}
Original file line number Diff line number Diff line change 50
50
- " nfd-worker"
51
51
args :
52
52
- " -server={{ include " node-feature-discovery.fullname" . }}-master:{{ .Values.master.service.port }}"
53
- {{- if .Values.enableNodeFeatureApi }}
54
- - " -enable-nodefeature-api"
53
+ {{- if not .Values.enableNodeFeatureApi }}
54
+ - " -enable-nodefeature-api=false "
55
55
{{- end }}
56
56
{{- if .Values.tls.enable }}
57
57
- " -ca-file=/etc/kubernetes/node-feature-discovery/certs/ca.crt"
You can’t perform that action at this time.
0 commit comments