From ac5c4d18bbf1825317f5877d04622d04a49948c3 Mon Sep 17 00:00:00 2001 From: realanna Date: Thu, 27 Jul 2023 15:54:46 +0200 Subject: [PATCH] fix: lowercase app and versions Signed-off-by: realanna --- operator/webhooks/pod_mutator/pod_mutating_webhook.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/operator/webhooks/pod_mutator/pod_mutating_webhook.go b/operator/webhooks/pod_mutator/pod_mutating_webhook.go index e436ec846b..d7183acf8c 100644 --- a/operator/webhooks/pod_mutator/pod_mutating_webhook.go +++ b/operator/webhooks/pod_mutator/pod_mutating_webhook.go @@ -398,8 +398,8 @@ func (a *PodMutatingWebhook) generateWorkload(ctx context.Context, pod *corev1.P }, }, Spec: klcv1alpha3.KeptnWorkloadSpec{ - AppName: strings.ToLower(applicationName), - Version: strings.ToLower(version), + AppName: applicationName, + Version: version, ResourceReference: klcv1alpha3.ResourceReference{UID: ownerRef.UID, Kind: ownerRef.Kind, Name: ownerRef.Name}, PreDeploymentTasks: preDeploymentTasks, PostDeploymentTasks: postDeploymentTasks,