Skip to content

Commit

Permalink
fix indentation in webhook and controller deployment templates for vo…
Browse files Browse the repository at this point in the history
…lumes and volumeMounts

Signed-off-by: Nick Gretzon <npgretz@gmail.com>
  • Loading branch information
npgretz committed Nov 6, 2024
1 parent 47dd461 commit 247caf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ spec:
{{- end }}
{{- with .Values.controller.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.controller.resources }}
resources:
Expand Down Expand Up @@ -153,7 +153,7 @@ spec:
{{- end }}
{{- with .Values.controller.volumes }}
volumes:
{{- toYaml . | nindent 6 }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with .Values.controller.nodeSelector }}
nodeSelector:
Expand Down
4 changes: 2 additions & 2 deletions charts/spark-operator-chart/templates/webhook/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ spec:
{{- end }}
{{- with .Values.webhook.volumeMounts }}
volumeMounts:
{{- toYaml . | nindent 10 }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.webhook.resources }}
resources:
Expand Down Expand Up @@ -123,7 +123,7 @@ spec:
{{- end }}
{{- with .Values.webhook.volumes }}
volumes:
{{- toYaml . | nindent 8 }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- with .Values.webhook.nodeSelector }}
nodeSelector:
Expand Down

0 comments on commit 247caf3

Please # to comment.