diff --git a/controller/konnect/ops/ops_kongconsumer.go b/controller/konnect/ops/ops_kongconsumer.go index 890e9818c..6f4bac68a 100644 --- a/controller/konnect/ops/ops_kongconsumer.go +++ b/controller/konnect/ops/ops_kongconsumer.go @@ -327,8 +327,8 @@ func kongConsumerToSDKConsumerInput( consumer *configurationv1.KongConsumer, ) sdkkonnectcomp.ConsumerInput { return sdkkonnectcomp.ConsumerInput{ - CustomID: &consumer.CustomID, + CustomID: lo.ToPtr(consumer.CustomID), Tags: GenerateTagsForObject(consumer), - Username: &consumer.Username, + Username: lo.ToPtr(consumer.Username), } }