From c4ed84f52a025612efc4691312267bd404b9a299 Mon Sep 17 00:00:00 2001 From: scme0 Date: Fri, 13 Dec 2024 19:52:22 +0100 Subject: [PATCH 1/2] Fix resources section --- chart/templates/transcoder/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/templates/transcoder/deployment.yaml b/chart/templates/transcoder/deployment.yaml index 73ba48d2..9d6b3cb1 100644 --- a/chart/templates/transcoder/deployment.yaml +++ b/chart/templates/transcoder/deployment.yaml @@ -94,7 +94,7 @@ spec: {{- 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: From 6ee047695afd69716a4e27aff5581b61142ae399 Mon Sep 17 00:00:00 2001 From: scme0 Date: Fri, 13 Dec 2024 19:56:16 +0100 Subject: [PATCH 2/2] fix other occurances --- chart/templates/autosync/deployment.yaml | 6 +++--- chart/templates/back/deployment.yaml | 6 +++--- chart/templates/front/deployment.yaml | 6 +++--- chart/templates/matcher/deployment.yaml | 6 +++--- chart/templates/scanner/deployment.yaml | 6 +++--- chart/templates/transcoder/deployment.yaml | 4 ++-- 6 files changed, 17 insertions(+), 17 deletions(-) diff --git a/chart/templates/autosync/deployment.yaml b/chart/templates/autosync/deployment.yaml index d627500b..b3b9fc0b 100644 --- a/chart/templates/autosync/deployment.yaml +++ b/chart/templates/autosync/deployment.yaml @@ -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: diff --git a/chart/templates/back/deployment.yaml b/chart/templates/back/deployment.yaml index 1afdb0cd..53698053 100644 --- a/chart/templates/back/deployment.yaml +++ b/chart/templates/back/deployment.yaml @@ -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: diff --git a/chart/templates/front/deployment.yaml b/chart/templates/front/deployment.yaml index 69e2f140..7787dc24 100644 --- a/chart/templates/front/deployment.yaml +++ b/chart/templates/front/deployment.yaml @@ -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: diff --git a/chart/templates/matcher/deployment.yaml b/chart/templates/matcher/deployment.yaml index 5d2409e7..561f499d 100644 --- a/chart/templates/matcher/deployment.yaml +++ b/chart/templates/matcher/deployment.yaml @@ -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: diff --git a/chart/templates/scanner/deployment.yaml b/chart/templates/scanner/deployment.yaml index aee8e6d1..245778b5 100644 --- a/chart/templates/scanner/deployment.yaml +++ b/chart/templates/scanner/deployment.yaml @@ -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: diff --git a/chart/templates/transcoder/deployment.yaml b/chart/templates/transcoder/deployment.yaml index 9d6b3cb1..f19b1f6a 100644 --- a/chart/templates/transcoder/deployment.yaml +++ b/chart/templates/transcoder/deployment.yaml @@ -86,11 +86,11 @@ 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: