Skip to content

Commit 9ed6063

Browse files
authored
Merge pull request #2310 from k8s-infra-cherrypick-robot/cherry-pick-2309-to-release-0.18
[release-0.18] helm: fixes
2 parents 13a2bf6 + d89b906 commit 9ed6063

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ spec:
1212
matchLabels:
1313
{{- include "node-feature-discovery.selectorLabels" . | nindent 6 }}
1414
role: master
15-
{{- toYaml (omit .Values.master.podDisruptionBudget "enable") | indent 2 }}
15+
{{- toYaml (omit .Values.master.podDisruptionBudget "enable") | nindent 2 }}
1616
{{- end }}
1717
{{- end }}

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ spec:
105105
fieldRef:
106106
fieldPath: spec.nodeName
107107
{{- with .Values.master.extraEnvs }}
108-
{{- toYaml . | nindent 8 }}
108+
{{- toYaml . | nindent 10 }}
109109
{{- end}}
110110
command:
111111
- "nfd-master"
@@ -125,9 +125,6 @@ spec:
125125
{{- if .Values.master.enableTaints }}
126126
- "-enable-taints"
127127
{{- end }}
128-
{{- if .Values.master.featureRulesController | kindIs "invalid" | not }}
129-
- "-featurerules-controller={{ .Values.master.featureRulesController }}"
130-
{{- end }}
131128
{{- if .Values.master.resyncPeriod }}
132129
- "-resync-period={{ .Values.master.resyncPeriod }}"
133130
{{- end }}

deployment/helm/node-feature-discovery/templates/nfd-gc-pdb.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ spec:
1212
matchLabels:
1313
{{- include "node-feature-discovery.selectorLabels" . | nindent 6 }}
1414
role: gc
15-
{{- toYaml (omit .Values.gc.podDisruptionBudget "enable") | indent 2 }}
15+
{{- toYaml (omit .Values.gc.podDisruptionBudget "enable") | nindent 2 }}
1616
{{- end }}
1717
{{- end }}

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,10 @@ master:
7171
### <NFD-MASTER-CONF-END-DO-NOT-REMOVE>
7272
port: 8080
7373
instance:
74-
featureApi:
7574
resyncPeriod:
7675
denyLabelNs: []
7776
extraLabelNs: []
7877
enableTaints: false
79-
featureRulesController: null
8078
nfdApiParallelism: null
8179
deploymentAnnotations: {}
8280
replicaCount: 1
@@ -595,7 +593,7 @@ gc:
595593
podDisruptionBudget:
596594
enable: false
597595
minAvailable: 1
598-
unhealthyPodEvictionPolicy: Always
596+
unhealthyPodEvictionPolicy: AlwaysAllow
599597

600598
# specify how many old ReplicaSets for the Deployment to retain.
601599
revisionHistoryLimit:

0 commit comments

Comments
 (0)