From 05736631c463303882ff667b294c0940b4ad999d Mon Sep 17 00:00:00 2001 From: Ankhit Bala Venkata <57641537+abalaven@users.noreply.github.com> Date: Wed, 29 Nov 2023 16:39:06 -0800 Subject: [PATCH] Truncate the delete apiservice job name (#471) * Truncate the delete apiservice job name * Address review comments --- .../konk-service/templates/delete-apiservice-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-charts/konk-service/templates/delete-apiservice-deployment.yaml b/helm-charts/konk-service/templates/delete-apiservice-deployment.yaml index 06aa8871..efa7b2ff 100644 --- a/helm-charts/konk-service/templates/delete-apiservice-deployment.yaml +++ b/helm-charts/konk-service/templates/delete-apiservice-deployment.yaml @@ -1,7 +1,7 @@ apiVersion: batch/v1 kind: Job metadata: - name: {{ include "konk-service.fullname" . }}-delete-apiservice + name: {{ include "konk-service.fullname" . | trunc 43 | trimSuffix "-" }}-delete-apiservice namespace: {{ .Release.Namespace }} labels: {{- include "konk-service.labels" . | nindent 4 }}