Skip to content

Commit

Permalink
chore: fix .Toleration indentation problem
Browse files Browse the repository at this point in the history
Signed-off-by: Jessica Xie <[email protected]>
  • Loading branch information
jessicaxiejw committed Feb 15, 2024
1 parent f981a63 commit fd7a346
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 fd7a346

Please sign in to comment.