fix: Helm Chart: map resources, livenessProbe and readinessProbe properties correctly in deployments (#714)

This commit is contained in:
acelinkio 2024-12-14 09:38:13 -08:00 committed by GitHub
commit 03992e1b2b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 18 additions and 18 deletions

View File

@ -66,15 +66,15 @@ spec:
{{- end }} {{- end }}
{{- with .Values.autosync.kyoo_autosync.livenessProbe }} {{- with .Values.autosync.kyoo_autosync.livenessProbe }}
livenessProbe: livenessProbe:
{{- toYaml .Values.autosync.kyoo_autosync.livenessProbe | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
{{- with .Values.autosync.kyoo_autosync.readinessProbe }} {{- with .Values.autosync.kyoo_autosync.readinessProbe }}
readinessProbe: readinessProbe:
{{- toYaml .Values.autosync.kyoo_autosync.readinessProbe | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
{{- with .Values.autosync.kyoo_autosync.resources }} {{- with .Values.autosync.kyoo_autosync.resources }}
resources: resources:
{{- toYaml .Values.autosync.kyoo_autosync.resources | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
{{- with .Values.autosync.kyoo_autosync.containerSecurityContext }} {{- with .Values.autosync.kyoo_autosync.containerSecurityContext }}
securityContext: securityContext:

View File

@ -162,15 +162,15 @@ spec:
protocol: TCP protocol: TCP
{{- with .Values.back.kyoo_back.livenessProbe }} {{- with .Values.back.kyoo_back.livenessProbe }}
livenessProbe: livenessProbe:
{{- toYaml .Values.back.kyoo_back.livenessProbe | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
{{- with .Values.back.kyoo_back.readinessProbe }} {{- with .Values.back.kyoo_back.readinessProbe }}
readinessProbe: readinessProbe:
{{- toYaml .Values.back.kyoo_back.readinessProbe | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
{{- with .Values.back.kyoo_back.resources }} {{- with .Values.back.kyoo_back.resources }}
resources: resources:
{{- toYaml .Values.back.kyoo_back.resources | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
{{- with .Values.back.kyoo_back.containerSecurityContext }} {{- with .Values.back.kyoo_back.containerSecurityContext }}
securityContext: securityContext:

View File

@ -58,15 +58,15 @@ spec:
protocol: TCP protocol: TCP
{{- with .Values.front.kyoo_front.livenessProbe }} {{- with .Values.front.kyoo_front.livenessProbe }}
livenessProbe: livenessProbe:
{{- toYaml .Values.front.kyoo_front.livenessProbe | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
{{- with .Values.front.kyoo_front.readinessProbe }} {{- with .Values.front.kyoo_front.readinessProbe }}
readinessProbe: readinessProbe:
{{- toYaml .Values.front.kyoo_front.readinessProbe | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
{{- with .Values.front.kyoo_front.resources }} {{- with .Values.front.kyoo_front.resources }}
resources: resources:
{{- toYaml .Values.front.kyoo_front.resources | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
{{- with .Values.front.kyoo_front.containerSecurityContext }} {{- with .Values.front.kyoo_front.containerSecurityContext }}
securityContext: securityContext:

View File

@ -90,15 +90,15 @@ spec:
{{- end }} {{- end }}
{{- with .Values.matcher.kyoo_matcher.livenessProbe }} {{- with .Values.matcher.kyoo_matcher.livenessProbe }}
livenessProbe: livenessProbe:
{{- toYaml .Values.matcher.kyoo_matcher.livenessProbe | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
{{- with .Values.matcher.kyoo_matcher.readinessProbe }} {{- with .Values.matcher.kyoo_matcher.readinessProbe }}
readinessProbe: readinessProbe:
{{- toYaml .Values.matcher.kyoo_matcher.readinessProbe | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
{{- with .Values.matcher.kyoo_matcher.resources }} {{- with .Values.matcher.kyoo_matcher.resources }}
resources: resources:
{{- toYaml .Values.matcher.kyoo_matcher.resources | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
{{- with .Values.matcher.kyoo_matcher.containerSecurityContext }} {{- with .Values.matcher.kyoo_matcher.containerSecurityContext }}
securityContext: securityContext:

View File

@ -79,15 +79,15 @@ spec:
{{- end }} {{- end }}
{{- with .Values.scanner.kyoo_scanner.livenessProbe }} {{- with .Values.scanner.kyoo_scanner.livenessProbe }}
livenessProbe: livenessProbe:
{{- toYaml .Values.scanner.kyoo_scanner.livenessProbe | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
{{- with .Values.scanner.kyoo_scanner.readinessProbe }} {{- with .Values.scanner.kyoo_scanner.readinessProbe }}
readinessProbe: readinessProbe:
{{- toYaml .Values.scanner.kyoo_scanner.readinessProbe | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
{{- with .Values.scanner.kyoo_scanner.resources }} {{- with .Values.scanner.kyoo_scanner.resources }}
resources: resources:
{{- toYaml .Values.scanner.kyoo_scanner.resources | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
{{- with .Values.scanner.kyoo_scanner.containerSecurityContext }} {{- with .Values.scanner.kyoo_scanner.containerSecurityContext }}
securityContext: securityContext:

View File

@ -86,15 +86,15 @@ spec:
protocol: TCP protocol: TCP
{{- with .Values.transcoder.kyoo_transcoder.livenessProbe }} {{- with .Values.transcoder.kyoo_transcoder.livenessProbe }}
livenessProbe: livenessProbe:
{{- toYaml .Values.transcoder.kyoo_transcoder.livenessProbe | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
{{- with .Values.transcoder.kyoo_transcoder.readinessProbe }} {{- with .Values.transcoder.kyoo_transcoder.readinessProbe }}
readinessProbe: readinessProbe:
{{- toYaml .Values.transcoder.kyoo_transcoder.readinessProbe | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
{{- with .Values.transcoder.kyoo_transcoder.resources }} {{- with .Values.transcoder.kyoo_transcoder.resources }}
resources: resources:
{{- toYaml .Values.transcoder.kyoo_transcoder.resources | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
{{- with .Values.transcoder.kyoo_transcoder.containerSecurityContext }} {{- with .Values.transcoder.kyoo_transcoder.containerSecurityContext }}
securityContext: securityContext: