Skip to content

Commit

Permalink
fix: lowercase app and versions
Browse files Browse the repository at this point in the history
Signed-off-by: realanna <[email protected]>
  • Loading branch information
RealAnna committed Jul 27, 2023
1 parent dcde670 commit ac5c4d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions operator/webhooks/pod_mutator/pod_mutating_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ac5c4d1

Please sign in to comment.