does somebody know if it is possible to to add a consumer (with username and password) to the kubernetes configuration via kubectl?
My problem is that I have a dbless kong gateway configuration on my kubernetes cluster and I also don’t want to change the declarative configuration file manually. All my deployments are done via helm or kubectl.
I found a way to add a KongConsumer with an Opaque secret but unfortunately this doesn’t work.
Is my approach possible? Hopefully somebody can help me with this
Yep. Below is an example.
You saved my day! Thanks!!
I was missing “kongCredType: basic-auth”. I knew I had to put that somewhere but couldn’t find any example.
In case you are interested, this github repo has examples for some other plugins like acl, oauth2, key-auth. These plugins also use