Skip to content

help request: Plugins do not work propely #2539

@alvarobem

Description

@alvarobem

Description

I have triying to configurate apisix in minikube (before to dpeloy it in my real cluster). I have using the helm chart with kustomize. I have configured a global rule (it's just a example):

apiVersion: apisix.apache.org/v2
kind: ApisixGlobalRule
metadata:
  name: global-response-rewrite
  namespace: apisix
spec:
  ingressClassName: apisix
  plugins:
    - name: response-rewrite
      enable: true
      config:
        headers:
          add:
            X-Plugin-Config: "example-response-rewrite"

In adition I have openid-connect rule configured in one route:

apiVersion: apisix.apache.org/v1alpha1
kind: PluginConfig
metadata:
  name: auth-plugin-config
  namespace: apisix
spec:
  plugins:
    - name: openid-connect
      config: 
        discovery: <idp-url>
        client_id: apisix
        client_secret: <secret>
        bearer_only: true
        ssl_verify: true
        _meta:
          disable: false

The openid-connect is working properly but the global rule not. Logs do not show any error.

In addition, I don't see any plugin on the dashboad and I don't know why.

Any idea?

Thank you in advance

Environment

  • APISIX version (run apisix version): 3.13.0
  • Operating system (run uname -a): Linux apisix-67b96cdf54-gqpj7 6.10.14-linuxkit aarch64 GNU/Linux
  • OpenResty / Nginx version (run openresty -V or nginx -V): openresty/1.27.1.2
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info):
  • APISIX Dashboard version, if relevant: included in the helm chart
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions