Skip to content

Commit 3543aa2

Browse files
Helm - Move remaining gPRC related flags to conditional
Signed-off-by: Carlos Eduardo Arango Gutierrez <[email protected]>
1 parent 076ed3c commit 3543aa2

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

deployment/helm/node-feature-discovery/templates/master.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ spec:
6969
{{- if .Values.master.instance | empty | not }}
7070
- "-instance={{ .Values.master.instance }}"
7171
{{- end }}
72-
- "-port={{ .Values.master.port | default "8080" }}"
7372
{{- if not .Values.enableNodeFeatureApi }}
73+
- "-port={{ .Values.master.port | default "8080" }}"
7474
- "-enable-nodefeature-api=false"
7575
{{- else if gt (int .Values.master.replicaCount) 1 }}
7676
- "-enable-leader-election"

deployment/helm/node-feature-discovery/templates/worker.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ spec:
4949
command:
5050
- "nfd-worker"
5151
args:
52-
- "-server={{ include "node-feature-discovery.fullname" . }}-master:{{ .Values.master.service.port }}"
5352
{{- if not .Values.enableNodeFeatureApi }}
53+
- "-server={{ include "node-feature-discovery.fullname" . }}-master:{{ .Values.master.service.port }}"
5454
- "-enable-nodefeature-api=false"
5555
{{- end }}
5656
{{- if .Values.tls.enable }}

deployment/helm/node-feature-discovery/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ master:
4545
# nfdApiParallelism: 10
4646
### <NFD-MASTER-CONF-END-DO-NOT-REMOVE>
4747
# The TCP port that nfd-master listens for incoming requests. Default: 8080
48+
# Deprecated this parameter is related to the deprecated gRPC API and will
49+
# be removed with it in a future release
4850
port: 8080
4951
metricsPort: 8081
5052
instance:

0 commit comments

Comments
 (0)