From ae0a74bea3f00337ba71988b6df23079c78d1b50 Mon Sep 17 00:00:00 2001 From: Julen Landa Alustiza Date: Wed, 5 Oct 2022 10:49:47 +0200 Subject: [PATCH] Fix version label truncating Signed-off-by: Julen Landa Alustiza --- roles/installer/templates/labels/version.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/installer/templates/labels/version.yaml.j2 b/roles/installer/templates/labels/version.yaml.j2 index 58d47be7..93eed802 100644 --- a/roles/installer/templates/labels/version.yaml.j2 +++ b/roles/installer/templates/labels/version.yaml.j2 @@ -1 +1 @@ -app.kubernetes.io/version: '{{ _image.split(':')[-1] | truncate(63, True, '') }}' +app.kubernetes.io/version: '{{ _image.split(':')[-1] | truncate(63, True, '', 0) }}'