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 2021/08/30 09:40:16 UTC
[GitHub] [camel-k] mmacphail opened a new issue #2606: How to define custom container specs ?
mmacphail opened a new issue #2606:
URL: https://github.com/apache/camel-k/issues/2606
Hello,
I was wondering how to define custom container specs. I followed the doc and some issues, I'm not certain how it's done in version `1.5.0`.
I want to specify the kubernetes service account used to run the pod. I tried the following syntax:
```
kamel run --trait pod.spec.serviceAccountName=test helloworld.groovy
```
But clearly my syntax is wrong.
--
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] mmacphail closed issue #2606: How to define custom container specs ?
Posted by GitBox <gi...@apache.org>.
mmacphail closed issue #2606:
URL: https://github.com/apache/camel-k/issues/2606
--
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] mmacphail commented on issue #2606: How to define custom container specs ?
Posted by GitBox <gi...@apache.org>.
mmacphail commented on issue #2606:
URL: https://github.com/apache/camel-k/issues/2606#issuecomment-908242197
Thank you, for now I use the following command `k edit integration helloworld` and add the service account here, which is working but a bit inconvenient.
--
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] astefanutti commented on issue #2606: How to define custom container specs ?
Posted by GitBox <gi...@apache.org>.
astefanutti commented on issue #2606:
URL: https://github.com/apache/camel-k/issues/2606#issuecomment-908219001
You can set the service account name directly on the `.spec.serviceAccountName` field of the Integration resource.
The _pod_ trait enables to customise the container specs by passing a template from file. However it is currently a subset of the `PodSpec` struct. We'll add the ability to set the service account name from there soon.
--
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