jeremie-H commented on issue #1661:
URL: https://github.com/apache/camel-k/issues/1661#issuecomment-674838838


   I think camel-k-builder was already the user-cluster-admin-binding.
   
   `kubectl describe clusterrolebinding user-cluster-admin-binding` return : 
   ```
   Name:         user-cluster-admin-binding
   Labels:       <none>
   Annotations:  <none>
   Role:
     Kind:  ClusterRole
     Name:  cluster-admin
   Subjects:
     Kind  Name                                                      Namespace
     ----  ----                                                      ---------
     User  camel-k-builder@[MYPROJECT].iam.gserviceaccount.com  
   ```
   
   after executing :
   ```
   kubectl delete clusterrolebinding user-cluster-admin-binding
   kubectl create clusterrolebinding user-cluster-admin-binding 
--clusterrole=cluster-admin --user=camel-k-builder@[YOURPROJECT]
   kamel uninstall
   ```
   and then redo the command with : 
   ```
   kamel install \
     --registry eu.gcr.io \
     --organization omega-lab-e5727d \
     --registry eu.gcr.io \
     --registry-insecure \
     --registry-secret kaniko-secret \
     --kaniko-build-cache \
     --build-publish-strategy Kaniko 
   ```
   
   It's still in error.
   
   Note : We're using a private cluster in GKE, with the authorized network 
setting on our endPoint network. but it's ok with all kubectl commands.


----------------------------------------------------------------
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.

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


Reply via email to