3
0
mirror of https://github.com/mastodon/chart synced 2025-03-16 05:51:51 +00:00

remove path duplication from deployment-web for new values

This commit is contained in:
John Stewart 2022-12-07 19:11:42 -05:00 committed by GitHub
parent fc817e84b6
commit 1e3c4efd3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,17 +97,17 @@ spec:
- name: http
containerPort: {{ .Values.mastodon.web.port }}
protocol: TCP
{{- if .Values.mastodon.web.livenessProbe }}
{{- with .Values.mastodon.web.livenessProbe }}
livenessProbe:
{{- toYaml .Values.mastodon.web.livenessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if .Values.mastodon.web.readinessProbe }}
{{- with .Values.mastodon.web.readinessProbe }}
readinessProbe:
{{- toYaml .Values.mastodon.web.readinessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if .Values.mastodon.web.startupProbe }}
{{- with .Values.mastodon.web.startupProbe }}
startupProbe:
{{- toYaml .Values.mastodon.web.startupProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with (default .Values.resources .Values.mastodon.web.resources) }}
resources: