/listPerformanceProfiles API returns only the first database entry from KruizePerformanceProfile table, instead of returning all the performance profiles created.
How to reproduce it
Create multiple performance profiles with different names using below JSON payload
Performance profile with name - resource-optimization-openshift
Describe the bug
/listPerformanceProfiles
API returns only the first database entry fromKruizePerformanceProfile
table, instead of returning all the performance profiles created.How to reproduce it
Performance profile with name -
resource-optimization-openshift
Performance profile with name -
resource-optimization-openshift1
/listPerformanceProfiles
API responseExpected behavior
Return an Array of different performance profiles created
Relevant logs Actual output of
/listPerformanceProfiles
listing only the first performance profile created as seen below:Environment:
Additional context .