Hi!, this is more a question than a "bug report".
I see that there is support for "EKS IAM role for service accounts" which is pretty nice but how do we enable IAM authentication using other solutions such as https://github.com/jtblin/kube2iam? This one asks for setting pod annotations to match IAM role permissions. It is possible to set up Pod annotations for the Runner's resources?
@jlsan92 Hey! Apparently it's mostly impossible today. You're using RunnerDeployment, not Runner, right?
Runner annotations are already inherited to runner pods, but there seems no way to set Runner annotations via RunnerDeployment.
Got the same problem, would love to have support for annotations in RunnerDeployment 馃檹
@jlsan92 @sp-ludovic-ivain Well I was pretty confused- I believe you can just use RunnerDeployment.Spec.Template.Metadata.Annotations for setting custom runner pod annotations, as I've commented in another issue https://github.com/summerwind/actions-runner-controller/issues/299#issuecomment-775566247
Would you mind giving it a shot?
Hi @mumoshu, yes, I was doing it wrong, putting the annotations into the RunnerDeployment's metadata...
Setting it as you said into RunnerDeployment.Spec.Template.Metadata.Annotations is working fine
Thanks!
Most helpful comment
@jlsan92 @sp-ludovic-ivain Well I was pretty confused- I believe you can just use
RunnerDeployment.Spec.Template.Metadata.Annotationsfor setting custom runner pod annotations, as I've commented in another issue https://github.com/summerwind/actions-runner-controller/issues/299#issuecomment-775566247Would you mind giving it a shot?