You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/07/13 02:25:43 UTC

[GitHub] [apisix-ingress-controller] ArmitageW opened a new issue #581: request help: Failed to list *v1.ApisixService: apisixservices.apisix.apache.org is forbidden: User "system:serviceaccount:apisix:apisix-view-serviceaccount" cannot list resource "apisixservices" in API group "apisix.apache.org" at the cluster scope

ArmitageW opened a new issue #581:
URL: https://github.com/apache/apisix-ingress-controller/issues/581


   ### Issue description
   According to the official website, use kustomization to deploy, report an error, there is no CRD of apisixservices:
   
   pkg/mod/k8s.io/client-go@v0.0.0-20190819141724-e14f31a72a77/tools/cache/reflector.go:98: Failed to list *v1.ApisixService: apisixservices.apisix.apache.org is forbidden: User "system:serviceaccount:apisix:apisix-view-serviceaccount" cannot list resource "apisixservices" in API group "apisix.apache.org" at the cluster scope
   
   ### Environment
   apisix-ingress-controller-1.0.0
   apisix version: 2.7
   
   Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.9", GitCommit:"94f372e501c973a7fa9eb40ec9ebd2fe7ca69848", GitTreeState:"clean", BuildDate:"2020-09-16T13:56:40Z", GoVersion:"go1.13.15", Compiler:"gc", Platform:"linux/amd64"}
   Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.3", GitCommit:"2e7996e3e2712684bc73f0dec0200d64eec7fe40", GitTreeState:"clean", BuildDate:"2020-05-20T12:43:34Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
   
   * your apisix-ingress-controller version (output of `apisix-ingress-controller version --long`);
   * your Kubernetes cluster version (output of `kubectl version`);
   * if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (`uname -a`).
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] ArmitageW commented on issue #581: request help: Failed to list *v1.ApisixService: apisixservices.apisix.apache.org is forbidden: User "system:serviceaccount:apisix:apisix-view-serviceaccount" cannot list resource "apisixservices" in API group "apisix.apache.org" at the cluster scope

Posted by GitBox <gi...@apache.org>.
ArmitageW commented on issue #581:
URL: https://github.com/apache/apisix-ingress-controller/issues/581#issuecomment-878814160


   ok,default version is 0.1.0
   
   ./deployment/ingress-controller.yaml:44:      - image: apache/apisix-ingress-controller:0.1.0
   
   The image version needs to be modified 


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] ArmitageW commented on issue #581: request help: Failed to list *v1.ApisixService: apisixservices.apisix.apache.org is forbidden: User "system:serviceaccount:apisix:apisix-view-serviceaccount" cannot list resource "apisixservices" in API group "apisix.apache.org" at the cluster scope

Posted by GitBox <gi...@apache.org>.
ArmitageW commented on issue #581:
URL: https://github.com/apache/apisix-ingress-controller/issues/581#issuecomment-878751498


   @gxthrj 
   No previous version installed 
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] ArmitageW commented on issue #581: request help: Failed to list *v1.ApisixService: apisixservices.apisix.apache.org is forbidden: User "system:serviceaccount:apisix:apisix-view-serviceaccount" cannot list resource "apisixservices" in API group "apisix.apache.org" at the cluster scope

Posted by GitBox <gi...@apache.org>.
ArmitageW commented on issue #581:
URL: https://github.com/apache/apisix-ingress-controller/issues/581#issuecomment-878816801


   OK


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] gxthrj commented on issue #581: request help: Failed to list *v1.ApisixService: apisixservices.apisix.apache.org is forbidden: User "system:serviceaccount:apisix:apisix-view-serviceaccount" cannot list resource "apisixservices" in API group "apisix.apache.org" at the cluster scope

Posted by GitBox <gi...@apache.org>.
gxthrj commented on issue #581:
URL: https://github.com/apache/apisix-ingress-controller/issues/581#issuecomment-878734287


   Yes, you may keep the CRD defination the same as [deploy](https://github.com/apache/apisix-ingress-controller/tree/master/samples/deploy).
   
   By the way, have you installed an old version of apisix-ingress before?


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 edited a comment on issue #581: request help: Failed to list *v1.ApisixService: apisixservices.apisix.apache.org is forbidden: User "system:serviceaccount:apisix:apisix-view-serviceaccount" cannot list resource "apisixservices" in API group "apisix.apache.org" at the cluster scope

Posted by GitBox <gi...@apache.org>.
tao12345666333 edited a comment on issue #581:
URL: https://github.com/apache/apisix-ingress-controller/issues/581#issuecomment-878815195


   <s>yep, can you open a PR to modify it? @ArmitageW </s>
   
   EDIT:
   
   The deployment file in the repo has been updated to 1.0. Has your local repo been unupdated for a long time?
   
   https://github.com/apache/apisix-ingress-controller/blob/57ec6dafa7b96b8c2fe5c386eedfce74cb581441/samples/deploy/deployment/ingress-controller.yaml#L44


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] ArmitageW closed issue #581: request help: Failed to list *v1.ApisixService: apisixservices.apisix.apache.org is forbidden: User "system:serviceaccount:apisix:apisix-view-serviceaccount" cannot list resource "apisixservices" in API group "apisix.apache.org" at the cluster scope

Posted by GitBox <gi...@apache.org>.
ArmitageW closed issue #581:
URL: https://github.com/apache/apisix-ingress-controller/issues/581


   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] ArmitageW commented on issue #581: request help: Failed to list *v1.ApisixService: apisixservices.apisix.apache.org is forbidden: User "system:serviceaccount:apisix:apisix-view-serviceaccount" cannot list resource "apisixservices" in API group "apisix.apache.org" at the cluster scope

Posted by GitBox <gi...@apache.org>.
ArmitageW commented on issue #581:
URL: https://github.com/apache/apisix-ingress-controller/issues/581#issuecomment-878751180


   @tao12345666333 
   
   [root@scq03-VMWARE0050568fcbb0-test-app-66-34-msxf ~]# kubectl get apisixservices -A
   error: the server doesn't have a resource type "apisixservices"
   
   


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #581: request help: Failed to list *v1.ApisixService: apisixservices.apisix.apache.org is forbidden: User "system:serviceaccount:apisix:apisix-view-serviceaccount" cannot list resource "apisixservices" in API group "apisix.apache.org" at the cluster scope

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #581:
URL: https://github.com/apache/apisix-ingress-controller/issues/581#issuecomment-878732573


   ApisixService has been removed in #230  #566
   
   Can you run `kubectl get apisixservices -A`  command ?


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #581: request help: Failed to list *v1.ApisixService: apisixservices.apisix.apache.org is forbidden: User "system:serviceaccount:apisix:apisix-view-serviceaccount" cannot list resource "apisixservices" in API group "apisix.apache.org" at the cluster scope

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #581:
URL: https://github.com/apache/apisix-ingress-controller/issues/581#issuecomment-878815195


   yep, can you open a PR to modify it? @ArmitageW 


-- 
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: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org