You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "pknetbcn (via GitHub)" <gi...@apache.org> on 2023/08/02 07:45:21 UTC

[GitHub] [camel-k] pknetbcn opened a new issue, #4629: camel-k installed with helm does not create cluster role for pipes and kameletbindings

pknetbcn opened a new issue, #4629:
URL: https://github.com/apache/camel-k/issues/4629

   I'm installing camel-k version 2.0.0 using helm with the value operator.global=true.
   
   The operator is continuosly restarting, showing errors saying that the user cannot list resource "pipes" neither "kameletbindings".
   
   If I create manually these files, the operator is maitained stable, at least without any integration yet:
   ```
   kind: ClusterRole
   apiVersion: rbac.authorization.k8s.io/v1
   metadata:
     name: camel-k-operator-custom
     labels:
       app: "camel-k"
       # Add these permissions to the "admin" and "edit" default roles.
       rbac.authorization.k8s.io/aggregate-to-admin: "true"
       rbac.authorization.k8s.io/aggregate-to-edit: "true"
   rules:
     - apiGroups:
         - camel.apache.org
       resources:
         - pipes
         - kameletbindings
       verbs:
         - create
         - get
         - list
         - patch
         - update
         - watch
   ---
   kind: ClusterRoleBinding
   apiVersion: rbac.authorization.k8s.io/v1
   metadata:
     name: camel-k-operator-custom
     labels:
       app: "camel-k"
   subjects:
     - kind: ServiceAccount
       name: camel-k-operator
       namespace: kamelk
   roleRef:
     kind: ClusterRole
     name: camel-k-operator-custom
     apiGroup: rbac.authorization.k8s.io
   ```


-- 
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: commits-unsubscribe@camel.apache.org.apache.org

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


[GitHub] [camel-k] squakez closed issue #4629: camel-k installed with helm does not create cluster role for pipes and kameletbindings

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez closed issue #4629: camel-k installed with helm does not create cluster role for pipes and kameletbindings
URL: https://github.com/apache/camel-k/issues/4629


-- 
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: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel-k] squakez commented on issue #4629: camel-k installed with helm does not create cluster role for pipes and kameletbindings

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #4629:
URL: https://github.com/apache/camel-k/issues/4629#issuecomment-1662080544

   @pknetbcn this should be now fixed. Please, update the Helm repo and retry the installation. Feel free to provide any further comment or issue you may find. Thanks!


-- 
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: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel-k] squakez closed issue #4629: camel-k installed with helm does not create cluster role for pipes and kameletbindings

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez closed issue #4629: camel-k installed with helm does not create cluster role for pipes and kameletbindings
URL: https://github.com/apache/camel-k/issues/4629


-- 
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: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel-k] squakez commented on issue #4629: camel-k installed with helm does not create cluster role for pipes and kameletbindings

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #4629:
URL: https://github.com/apache/camel-k/issues/4629#issuecomment-1661681849

   Still need to release upgrade


-- 
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: commits-unsubscribe@camel.apache.org

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


[GitHub] [camel-k] claudio4j commented on issue #4629: camel-k installed with helm does not create cluster role for pipes and kameletbindings

Posted by "claudio4j (via GitHub)" <gi...@apache.org>.
claudio4j commented on issue #4629:
URL: https://github.com/apache/camel-k/issues/4629#issuecomment-1658921800

   The [helm template for roles](https://github.com/apache/camel-k/blob/main/helm/camel-k/templates/operator-role.yaml#L28) is missing the pipe permission, as is defined in [this template](https://github.com/apache/camel-k/blob/main/config/rbac/operator-role.yaml#L26) used by `kamel`
   
   I will fix it this week. 
   Thanks for reporting.


-- 
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: commits-unsubscribe@camel.apache.org

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