MBoui opened a new issue, #1183:
URL: https://github.com/apache/apisix-ingress-controller/issues/1183

   ### Issue description
   
   Fresh installation from the helm chart:
   
   ```
   helm install apisix apisix/apisix \
     --set gateway.type=NodePort \
     --set ingress-controller.enabled=true \
     --namespace ingress-apisix \
     --set ingress-controller.config.apisix.serviceNamespace=ingress-apisix \
   ```
   
   Generate the error: `unknown field "jwtAuth" in 
org.apache.apisix.v2beta3.ApisixConsumer.spec.authParameter;`, when i try to 
apply this config file:
   
   ```yaml
   apiVersion: apisix.apache.org/v2beta3
   kind: ApisixConsumer
   metadata:
     name: jack
   spec:
     authParameter:
       jwtAuth:
         value:
           key: jack
           vault: {}
   ```
   
   
   ### Environment
   
   - your apisix-ingress-controller version (output of 
apisix-ingress-controller version --long): 1.4.1
   - your Kubernetes cluster version (output of kubectl version):
    Local with kind
   ```
   Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.5", 
GitCommit:"c285e781331a3785a7f436042c65c5641ce8a9e9", GitTreeState:"clean", 
BuildDate:"2022-03-16T15:51:05Z", GoVersion:"go1.17.8", Compiler:"gc", 
Platform:"darwin/amd64"}
   Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.0", 
GitCommit:"4ce5a8954017644c5420bae81d72b09b735c21f0", GitTreeState:"clean", 
BuildDate:"2022-05-19T15:39:43Z", GoVersion:"go1.18.1", Compiler:"gc", 
Platform:"linux/amd64"}
   ```
   - if you run apisix-ingress-controller in Bare-metal environment, also show 
your OS version (uname -a):
   
   
   ### Minimal test code / Steps to reproduce
   
   1. kind create cluster
   2. helm install....
   3. kubectl apply -f - <<EOF .... EOF
   
   ### Actual result
   
   nothing is do
   
   ### Error log
   
   error: error validating "STDIN": error validating data: 
ValidationError(ApisixConsumer.spec.authParameter): unknown field "jwtAuth" in 
org.apache.apisix.v2beta3.ApisixConsumer.spec.authParameter; if you choose to 
ignore these errors, turn validation off with --validate=false
   
   ### Expected result
   
   Consumer should be created.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to