Skip to content

Commit

Permalink
fix: Helm Chart: map resources, livenessProbe and readinessProbe prop…
Browse files Browse the repository at this point in the history
…erties correctly in deployments (#714)
  • Loading branch information
acelinkio authored Dec 14, 2024
2 parents 6e30860 + 6ee0476 commit 03992e1
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions chart/templates/autosync/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@ spec:
{{- end }}
{{- with .Values.autosync.kyoo_autosync.livenessProbe }}
livenessProbe:
{{- toYaml .Values.autosync.kyoo_autosync.livenessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.autosync.kyoo_autosync.readinessProbe }}
readinessProbe:
{{- toYaml .Values.autosync.kyoo_autosync.readinessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.autosync.kyoo_autosync.resources }}
resources:
{{- toYaml .Values.autosync.kyoo_autosync.resources | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.autosync.kyoo_autosync.containerSecurityContext }}
securityContext:
Expand Down
6 changes: 3 additions & 3 deletions chart/templates/back/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,15 @@ spec:
protocol: TCP
{{- with .Values.back.kyoo_back.livenessProbe }}
livenessProbe:
{{- toYaml .Values.back.kyoo_back.livenessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.back.kyoo_back.readinessProbe }}
readinessProbe:
{{- toYaml .Values.back.kyoo_back.readinessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.back.kyoo_back.resources }}
resources:
{{- toYaml .Values.back.kyoo_back.resources | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.back.kyoo_back.containerSecurityContext }}
securityContext:
Expand Down
6 changes: 3 additions & 3 deletions chart/templates/front/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ spec:
protocol: TCP
{{- with .Values.front.kyoo_front.livenessProbe }}
livenessProbe:
{{- toYaml .Values.front.kyoo_front.livenessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.front.kyoo_front.readinessProbe }}
readinessProbe:
{{- toYaml .Values.front.kyoo_front.readinessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.front.kyoo_front.resources }}
resources:
{{- toYaml .Values.front.kyoo_front.resources | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.front.kyoo_front.containerSecurityContext }}
securityContext:
Expand Down
6 changes: 3 additions & 3 deletions chart/templates/matcher/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ spec:
{{- end }}
{{- with .Values.matcher.kyoo_matcher.livenessProbe }}
livenessProbe:
{{- toYaml .Values.matcher.kyoo_matcher.livenessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.matcher.kyoo_matcher.readinessProbe }}
readinessProbe:
{{- toYaml .Values.matcher.kyoo_matcher.readinessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.matcher.kyoo_matcher.resources }}
resources:
{{- toYaml .Values.matcher.kyoo_matcher.resources | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.matcher.kyoo_matcher.containerSecurityContext }}
securityContext:
Expand Down
6 changes: 3 additions & 3 deletions chart/templates/scanner/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@ spec:
{{- end }}
{{- with .Values.scanner.kyoo_scanner.livenessProbe }}
livenessProbe:
{{- toYaml .Values.scanner.kyoo_scanner.livenessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.scanner.kyoo_scanner.readinessProbe }}
readinessProbe:
{{- toYaml .Values.scanner.kyoo_scanner.readinessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.scanner.kyoo_scanner.resources }}
resources:
{{- toYaml .Values.scanner.kyoo_scanner.resources | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.scanner.kyoo_scanner.containerSecurityContext }}
securityContext:
Expand Down
6 changes: 3 additions & 3 deletions chart/templates/transcoder/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,15 @@ spec:
protocol: TCP
{{- with .Values.transcoder.kyoo_transcoder.livenessProbe }}
livenessProbe:
{{- toYaml .Values.transcoder.kyoo_transcoder.livenessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.transcoder.kyoo_transcoder.readinessProbe }}
readinessProbe:
{{- toYaml .Values.transcoder.kyoo_transcoder.readinessProbe | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.transcoder.kyoo_transcoder.resources }}
resources:
{{- toYaml .Values.transcoder.kyoo_transcoder.resources | nindent 12 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.transcoder.kyoo_transcoder.containerSecurityContext }}
securityContext:
Expand Down

0 comments on commit 03992e1

Please sign in to comment.