Refactors mapKongRoutes and mapKongServices into mapPluginsFromAnnotation which takes 1 of 4 supported types to have konghq.com/plugins annotation set and enqueues plugins from that annotation.
This PR also removes stuttering from some of the var and const names.
What this PR does / why we need it:
Refactors
mapKongRoutes
andmapKongServices
intomapPluginsFromAnnotation
which takes 1 of 4 supported types to havekonghq.com/plugins
annotation set and enqueues plugins from that annotation.This PR also removes stuttering from some of the var and const names.