Skip to content

Commit

Permalink
fix: Toleration indentation problem (#815)
Browse files Browse the repository at this point in the history
Signed-off-by: Jessica Xie <[email protected]>
(cherry picked from commit fd7a346)
  • Loading branch information
e0ne authored Feb 19, 2024
2 parents 58ffcc9 + 92f98fe commit 9d96528
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ spec:
serviceAccountName: nic-feature-discovery
{{- end }}
tolerations:
{{- if .Tolerations }}
{{- .Tolerations | yaml | nindent 8 }}
{{- end }}
{{- if .Tolerations }}
{{- .Tolerations | yaml | nindent 8 }}
{{- end }}
- key: nvidia.com/gpu
operator: Exists
effect: NoSchedule
Expand Down
12 changes: 6 additions & 6 deletions manifests/state-nv-ipam-cni/040-nv-ipam-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ spec:
serviceAccountName: nv-ipam-node
terminationGracePeriodSeconds: 10
tolerations:
{{- if .Tolerations }}
{{- .Tolerations | yaml | nindent 8 }}
{{- end }}
- key: nvidia.com/gpu
operator: Exists
effect: NoSchedule
{{- if .Tolerations }}
{{- .Tolerations | yaml | nindent 8 }}
{{- end }}
- key: nvidia.com/gpu
operator: Exists
effect: NoSchedule
{{- if .NodeAffinity }}
affinity:
nodeAffinity:
Expand Down

0 comments on commit 9d96528

Please sign in to comment.