Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckHend committed Oct 2, 2024
1 parent 9a9f663 commit 97c4ef0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ metadata:
{{- with $service.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- else if (index $.Values.inferenceService 0).serviceAccount.annotations }}
{{- end }}
{{- if (index $.Values.inferenceService 0).serviceAccount.annotations }}
annotations:
{{- toYaml (index $.Values.inferenceService 0).serviceAccount.annotations | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- range $service := .Values.inferenceService }}
{{- if (default false $service.statefulSet.enabled) }}
{{- if (and $service.statefulSet (default false $service.statefulSet.enabled)) }}
apiVersion: apps/v1
kind: StatefulSet
metadata:
Expand Down

0 comments on commit 97c4ef0

Please sign in to comment.