diff --git a/templates/deployment-streaming.yaml b/templates/deployment-streaming.yaml index 2bc9764..6d6a877 100644 --- a/templates/deployment-streaming.yaml +++ b/templates/deployment-streaming.yaml @@ -62,17 +62,17 @@ spec: - name: streaming containerPort: {{ .Values.mastodon.streaming.port }} protocol: TCP - {{- if .Values.mastodon.streaming.livenessProbe }} + {{- with .Values.mastodon.streaming.livenessProbe }} livenessProbe: - {{- toYaml .Values.mastodon.streaming.livenessProbe | nindent 12 }} + {{- toYaml . | nindent 12 }} {{- end }} - {{- if .Values.mastodon.streaming.readinessProbe }} + {{- with .Values.mastodon.streaming.readinessProbe }} readinessProbe: - {{- toYaml .Values.mastodon.streaming.readinessProbe | nindent 12 }} + {{- toYaml . | nindent 12 }} {{- end }} - {{- if .Values.mastodon.streaming.startupProbe }} + {{- with .Values.mastodon.streaming.startupProbe }} startupProbe: - {{- toYaml .Values.mastodon.streaming.startupProbe | nindent 12 }} + {{- toYaml . | nindent 12 }} {{- end }} {{- with (default .Values.resources .Values.mastodon.streaming.resources) }} resources: