Skip to content

Commit

Permalink
Merge pull request #2014 from lack/reference-sriov_config_freedom
Browse files Browse the repository at this point in the history
OCPBUGS-38945: ztp: Reference: Allow SriovNetworkNodePolicy to be fully customizable
  • Loading branch information
openshift-merge-bot[bot] authored Aug 29, 2024
2 parents 0d2ff11 + 4d298be commit 6639eea
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ spec:
isRdma: {{ .spec.isRdma }}
nicSelector:
# The exact physical function name must match the hardware used
pfNames:
{{- range .spec.nicSelector.pfNames }}
- {{ . }}
{{- end }}
{{- nindent 4 (.spec.nicSelector | toYaml) }}
{{- if .spec.nodeSelector }}
nodeSelector:
{{ template "matchNodeSelector" (list .spec.nodeSelector "node-role.kubernetes.io" ) }}
Expand Down

0 comments on commit 6639eea

Please sign in to comment.