You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/02/25 11:40:17 UTC

[GitHub] [camel-k] Richardmbs12 commented on issue #1030: Way to set a serviceaccount for the integration pod?

Richardmbs12 commented on issue #1030:
URL: https://github.com/apache/camel-k/issues/1030#issuecomment-1050780436


   This is also applicable to the camel k helm chart values file attributes.
   The service account in the helm chart can be enhanced as follows:
   
   Current:
   
   ```
   apiVersion: v1
   kind: ServiceAccount
   metadata:
     name: camel-k-operator
     labels:
       app: "camel-k"
       {{- include "camel-k.labels" . | nindent 4 }}
   ```
     
   To Be:
   
   ```
   apiVersion: v1
   kind: ServiceAccount
   metadata:
     name: camel-k-operator
     labels:
       app: "camel-k"
       {{- include "camel-k.labels" . | nindent 4 }}
     annotations:
       {{- include "service-account.annotations" . | nindent 4 }}
   ```
   
   This dynamic "annotations" config can be then beneficial for iam role annotations, or any other annotation valuableto be added to a service account, customizable via values file
       
       


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