diff --git a/applications/web/templates/_helpers.tpl b/applications/web/templates/_helpers.tpl index 9c337aeea..92fbabc96 100644 --- a/applications/web/templates/_helpers.tpl +++ b/applications/web/templates/_helpers.tpl @@ -28,7 +28,7 @@ If release name contains chart name it will be used as a full name. Create chart name and version as used by the chart label. */}} {{- define "docker-template.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" | trimSuffix "."}} {{- end }} {{/* diff --git a/applications/worker/templates/_helpers.tpl b/applications/worker/templates/_helpers.tpl index 77dcf47eb..aa493bba9 100644 --- a/applications/worker/templates/_helpers.tpl +++ b/applications/worker/templates/_helpers.tpl @@ -28,7 +28,7 @@ If release name contains chart name it will be used as a full name. Create chart name and version as used by the chart label. */}} {{- define "docker-template.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" | trimSuffix "."}} {{- end }} {{/*