Declarative and DB model Behaviour

Hi,

I am doing POC on Kong to check the compatibility for our application. I tried DB-less and DB Mode.

I had installed Kong DB mode in Kubernetes, I just tried to apply yml configuration on kubectl(randomly). Actually, it is making entries in database also. is it expected ?

Can we use this yaml approach also along with Kong admin API ?.

Please suggest, if I am missing anything in Kong.conf to stop declarative all together.

Thanks