Skip to content

Commit

Permalink
Fix indentations (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
a-thomas-22 authored Feb 9, 2024
1 parent 7a04a9d commit 03eafb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/nitro/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ maintainers:

type: application

version: 0.1.20
version: 0.1.21

appVersion: "v2.2.4-8517340"
8 changes: 4 additions & 4 deletions charts/nitro/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,17 +106,17 @@ spec:
{{- if .Values.livenessProbe.enabled }}
livenessProbe:
{{- if and .Values.livenessProbe.exec (kindIs "string" .Values.livenessProbe.exec.command) }}
{{- omit .Values.livenessProbe "enabled" "exec" | toYaml | nindent 10 }}
{{- omit .Values.livenessProbe "enabled" "exec" | toYaml | nindent 12 }}
exec:
command:
{{- tpl .Values.livenessProbe.exec.command . | nindent 14 }}
{{- else }}
{{- omit .Values.livenessProbe "enabled" | toYaml | nindent 10 }}
{{- omit .Values.livenessProbe "enabled" | toYaml | nindent 12 }}
{{- end }}
{{- end }}
{{- if .Values.readinessProbe.enabled }}
readinessProbe:
{{- omit .Values.readinessProbe "enabled" | toYaml | nindent 10 }}
{{- omit .Values.readinessProbe "enabled" | toYaml | nindent 12 }}
{{- end }}
{{- if and .Values.startupProbe.enabled .Values.configmap.data.http .Values.configmap.data.http.port }}
startupProbe:
Expand All @@ -131,7 +131,7 @@ spec:
{{- end }}
env:
{{- with .Values.extraEnv }}
{{- toYaml . | nindent 10 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- end }}
{{- if .Values.persistence.enabled }}
Expand Down

0 comments on commit 03eafb4

Please sign in to comment.