Skip to content

Commit

Permalink
Address reviewer requested changes
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Eduardo Arango Gutierrez <eduardoa@nvidia.com>
  • Loading branch information
ArangoGutierrez committed Jun 26, 2023
1 parent d1c2b99 commit d559268
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion deployment/network-operator/templates/upgrade-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ spec:
kubectl apply -f /crds/sriov-network-operator;
{{- end }}
{{- if .Values.nfd.enabled }}
if ! kubectl get crd | grep -E "nodefeaturerules\.nfd\.k8s-sigs\.io|nodefeatures\.nfd\.k8s-sigs\.io" ; then kubectl apply -f /crds/node-feature-discovery; fi
kubectl apply -f /crds/node-feature-discovery;
{{- end }}
restartPolicy: OnFailure
{{- end }}
7 changes: 5 additions & 2 deletions deployment/network-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ node-feature-discovery:
create: false
tolerations:
- key: "node-role.kubernetes.io/master"
operator: "Equal"
value: ""
operator: "Exists"
effect: "NoSchedule"
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
- key: nvidia.com/gpu
operator: Exists
Expand All @@ -59,6 +61,7 @@ node-feature-discovery:
deviceLabelFields:
- vendor
master:
instance: "nvidia.networking"
serviceAccount:
name: node-feature-discovery
create: true
Expand Down
7 changes: 5 additions & 2 deletions hack/templates/values/values.template
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ node-feature-discovery:
create: false
tolerations:
- key: "node-role.kubernetes.io/master"
operator: "Equal"
value: ""
operator: "Exists"
effect: "NoSchedule"
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
- key: nvidia.com/gpu
operator: Exists
Expand All @@ -59,6 +61,7 @@ node-feature-discovery:
deviceLabelFields:
- vendor
master:
instance: "nvidia.networking"
serviceAccount:
name: node-feature-discovery
create: true
Expand Down

0 comments on commit d559268

Please sign in to comment.