From 4a3a5bfa8d4686a23411a3c9a2ad2be782bded8f Mon Sep 17 00:00:00 2001 From: Arlan Lloyd Date: Thu, 11 Jul 2024 05:17:49 +0000 Subject: [PATCH] align to 63 + comment --- chart/templates/_helpers.tpl | 12 ++++++------ chart/values.yaml | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/chart/templates/_helpers.tpl b/chart/templates/_helpers.tpl index 7d7ab73f..551f7b18 100644 --- a/chart/templates/_helpers.tpl +++ b/chart/templates/_helpers.tpl @@ -2,7 +2,7 @@ Create kyoo autosync name */}} {{- define "kyoo.autosync.fullname" -}} -{{- printf "%s-%s" (include "kyoo.fullname" .) .Values.autosync.name | trunc 52 | trimSuffix "-" -}} +{{- printf "%s-%s" (include "kyoo.fullname" .) .Values.autosync.name | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/* @@ -20,7 +20,7 @@ Create the name of the autosync service account to use Create kyoo back name */}} {{- define "kyoo.back.fullname" -}} -{{- printf "%s-%s" (include "kyoo.fullname" .) .Values.back.name | trunc 52 | trimSuffix "-" -}} +{{- printf "%s-%s" (include "kyoo.fullname" .) .Values.back.name | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/* @@ -38,7 +38,7 @@ Create the name of the back service account to use Create kyoo front name */}} {{- define "kyoo.front.fullname" -}} -{{- printf "%s-%s" (include "kyoo.fullname" .) .Values.front.name | trunc 52 | trimSuffix "-" -}} +{{- printf "%s-%s" (include "kyoo.fullname" .) .Values.front.name | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/* @@ -56,7 +56,7 @@ Create the name of the front service account to use Create kyoo matcher name */}} {{- define "kyoo.matcher.fullname" -}} -{{- printf "%s-%s" (include "kyoo.fullname" .) .Values.matcher.name | trunc 52 | trimSuffix "-" -}} +{{- printf "%s-%s" (include "kyoo.fullname" .) .Values.matcher.name | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/* @@ -74,7 +74,7 @@ Create the name of the matcher service account to use Create kyoo scanner name */}} {{- define "kyoo.scanner.fullname" -}} -{{- printf "%s-%s" (include "kyoo.fullname" .) .Values.scanner.name | trunc 52 | trimSuffix "-" -}} +{{- printf "%s-%s" (include "kyoo.fullname" .) .Values.scanner.name | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/* @@ -92,7 +92,7 @@ Create the name of the scanner service account to use Create kyoo transcoder name */}} {{- define "kyoo.transcoder.fullname" -}} -{{- printf "%s-%s" (include "kyoo.fullname" .) .Values.transcoder.name | trunc 52 | trimSuffix "-" -}} +{{- printf "%s-%s" (include "kyoo.fullname" .) .Values.transcoder.name | trunc 63 | trimSuffix "-" -}} {{- end -}} {{/* diff --git a/chart/values.yaml b/chart/values.yaml index c4ce355b..4df9f0ea 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -250,6 +250,7 @@ scanner: image: repository: ~ tag: ~ + # scanner does not support multiple replicas replicaCount: 1 podLabels: {} deploymentAnnotations: {}