Skip to content

Commit

Permalink
Fix indentations in some manifests
Browse files Browse the repository at this point in the history
Signed-off-by: amaslennikov <[email protected]>
  • Loading branch information
almaslennikov committed Dec 20, 2023
1 parent 3c0e45c commit f14f2f8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions manifests/state-nv-ipam-cni/040-nv-ipam-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ spec:
- --cni-log-level=info # log level for shim CNI
- --ippools-namespace=$(IPPOOLS_NAMESPACE)
{{- with index .RuntimeSpec.ContainerResources "nv-ipam-node" }}
resources:
{{- if .Requests }}
requests:
{{ .Requests | yaml | nindent 14}}
{{- end }}
{{- if .Limits }}
limits:
{{ .Limits | yaml | nindent 14}}
{{- end }}
resources:
{{- if .Requests }}
requests:
{{ .Requests | yaml | nindent 12}}
{{- end }}
{{- if .Limits }}
limits:
{{ .Limits | yaml | nindent 12}}
{{- end }}
{{- else }}
resources:
requests:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ spec:
resources:
{{- if .Requests }}
requests:
{{ .Requests | yaml | nindent 12}}
{{ .Requests | yaml | nindent 14}}
{{- end }}
{{- if .Limits }}
limits:
{{ .Limits | yaml | nindent 12}}
{{ .Limits | yaml | nindent 14}}
{{- end }}
{{- end }}
volumes:
Expand Down

0 comments on commit f14f2f8

Please sign in to comment.