GithubHelp home page GithubHelp logo

Comments (17)

gxthrj avatar gxthrj commented on September 28, 2024 1

will update today

from apisix-ingress-controller.

membphis avatar membphis commented on September 28, 2024

please confirm if you have set the right admin key.

from apisix-ingress-controller.

maxluo1992 avatar maxluo1992 commented on September 28, 2024

I tried to find api7/ingress-controller to access the admin-key of APISIX, but I did not find the corresponding option in the config.json file, may I ask where to configure the admin-key

from apisix-ingress-controller.

membphis avatar membphis commented on September 28, 2024

@gxthrj do you have time to take a look at this issue?

from apisix-ingress-controller.

gxthrj avatar gxthrj commented on September 28, 2024

@maxluo1992 Now we do not support a way to config admin-key, I am not sure how to configure them when we use multi-APISIX cluster with ingress.class annotation. There should be many admin-keys.

For now , I suggest you to remove the admin-key and use allow_admin to keep Admin API safe.

from apisix-ingress-controller.

gxthrj avatar gxthrj commented on September 28, 2024

@maxluo1992 For now, apisix-ingress-controller do not support the config admin_key from Apache APISIX.
When using apisix-ingress-controller with APISIX, it is recommended to remove the admin_key setting. You can use allow_admin to restrict the access scope of the APISIX control plane to ensure security.

from apisix-ingress-controller.

gxthrj avatar gxthrj commented on September 28, 2024

I will organize this description into the document.

from apisix-ingress-controller.

Bhanuji95 avatar Bhanuji95 commented on September 28, 2024

Hi, I removed admin_key and used allow_admin settings as you suggested, but then the log message says admin_key is missing. Can you please suggest anything for my issue.

from apisix-ingress-controller.

moonming avatar moonming commented on September 28, 2024

ping @gxthrj

from apisix-ingress-controller.

tokers avatar tokers commented on September 28, 2024

Admin key should be stored in Kubernetes Secret, we should add secret informers to fetch them and use them when communicating with APISIX. @gxthrj @moonming @membphis

from apisix-ingress-controller.

gxthrj avatar gxthrj commented on September 28, 2024

Hi, I removed admin_key and used allow_admin settings as you suggested, but then the log message says admin_key is missing. Can you please suggest anything for my issue.

It is strange.
Please tell us what version of APISIX you are using.
And show the admin_key section in config.yaml and config-default.yaml.

from apisix-ingress-controller.

gxthrj avatar gxthrj commented on September 28, 2024

Admin key should be stored in Kubernetes Secret, we should add secret informers to fetch them and use them when communicating with APISIX. @gxthrj @moonming @membphis

Yes, it is a way, but APISIX should know this secret, too. We can discuss this in #50 .

from apisix-ingress-controller.

Bhanuji95 avatar Bhanuji95 commented on September 28, 2024

It is strange.
Please tell us what version of APISIX you are using.
And show the admin_key section in config.yaml and config-default.yaml.

Hello, we used apache/apisix:latest image from docker hub and we completely commented out the admin_key part as below.

config-default.conf:
tmp_1607439753475

config.yaml:
tmp_1607439965466

from apisix-ingress-controller.

gxthrj avatar gxthrj commented on September 28, 2024

I will try to reproduce with the latest version of APISIX

from apisix-ingress-controller.

membphis avatar membphis commented on September 28, 2024

any news?

from apisix-ingress-controller.

tokers avatar tokers commented on September 28, 2024

@maxluo1992 This is due to the lack of admin_key support, we will add some documents to tell users how to close APISIX's admin_key.

from apisix-ingress-controller.

tokers avatar tokers commented on September 28, 2024

@maxluo1992 See the point 4 in https://github.com/apache/apisix-ingress-controller/blob/master/docs/FAQ.md.

from apisix-ingress-controller.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.