Hi Ben — yes, you can do this a couple ways. What language are you working with; maybe i can point you in the direction of some examples?
g
gray-hamburger-90102
09/07/2021, 11:27 AM
Fab - thanks. I'm using TypeScript atm
p
purple-traffic-44372
09/07/2021, 11:37 AM
You’ll be able to grab the ARN from the role you created, and use this to create the sa: https://www.pulumi.com/docs/reference/pkg/kubernetes/core/v1/serviceaccount/
I ran into a couple problems applying the helm chart, so I opted to have another script take care of that (including the service account) and then I went back and annotated it with the role ARN
g
gray-hamburger-90102
09/07/2021, 11:38 AM
Ah sweet, thanks for that - I'll give it a go
b
bored-table-20691
09/07/2021, 2:40 PM
@gray-hamburger-90102 if you search the history in slack you should be able to find a chat with me and someone else with an example how to do this with Go.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.