align to 63 + comment

This commit is contained in:
Arlan Lloyd 2024-07-11 05:17:49 +00:00
parent 79c7dc0ad0
commit 4a3a5bfa8d
2 changed files with 7 additions and 6 deletions

View File

@ -2,7 +2,7 @@
Create kyoo autosync name Create kyoo autosync name
*/}} */}}
{{- define "kyoo.autosync.fullname" -}} {{- 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 -}} {{- end -}}
{{/* {{/*
@ -20,7 +20,7 @@ Create the name of the autosync service account to use
Create kyoo back name Create kyoo back name
*/}} */}}
{{- define "kyoo.back.fullname" -}} {{- 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 -}} {{- end -}}
{{/* {{/*
@ -38,7 +38,7 @@ Create the name of the back service account to use
Create kyoo front name Create kyoo front name
*/}} */}}
{{- define "kyoo.front.fullname" -}} {{- 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 -}} {{- end -}}
{{/* {{/*
@ -56,7 +56,7 @@ Create the name of the front service account to use
Create kyoo matcher name Create kyoo matcher name
*/}} */}}
{{- define "kyoo.matcher.fullname" -}} {{- 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 -}} {{- end -}}
{{/* {{/*
@ -74,7 +74,7 @@ Create the name of the matcher service account to use
Create kyoo scanner name Create kyoo scanner name
*/}} */}}
{{- define "kyoo.scanner.fullname" -}} {{- 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 -}} {{- end -}}
{{/* {{/*
@ -92,7 +92,7 @@ Create the name of the scanner service account to use
Create kyoo transcoder name Create kyoo transcoder name
*/}} */}}
{{- define "kyoo.transcoder.fullname" -}} {{- 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 -}} {{- end -}}
{{/* {{/*

View File

@ -250,6 +250,7 @@ scanner:
image: image:
repository: ~ repository: ~
tag: ~ tag: ~
# scanner does not support multiple replicas
replicaCount: 1 replicaCount: 1
podLabels: {} podLabels: {}
deploymentAnnotations: {} deploymentAnnotations: {}