Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CONNECT] Allow use of rbac and service account creation without requiring launcher be enabled #401

Open
jforest opened this issue Jul 31, 2023 · 2 comments
Labels

Comments

@jforest
Copy link

jforest commented Jul 31, 2023

When trying to create a service account using

rbac:
    create: True
    serviceAccount:
        create: True
        name: connect-sa
        annotations:
            eks.amazonaws.com/role-arn: <my-arn-here>

it became clear that we cannot create a service account in this method without enabling launcher because of this line. I am able to work around it thanks to @colearendt by using extraObjects to create the service account, making sure to specify it's name in the rbac values, because it's used later here even though we cannot create that service account that way.

It would be nice if we could support creating the service account without requiring launcher being enabled.

@colearendt colearendt added the rsc label Jul 31, 2023
@lachlansimpson
Copy link

This issue is seen in Support ticket #95319

@dbkegley
Copy link
Collaborator

For future reference:

rbac:
  serviceAccount:
    name: <service-account-name>
extraObjects:
  - apiVersion: v1
    kind: ServiceAccount
    metadata:
      annotations:
        eks.amazonaws.com/role-arn: arn:aws:iam::<account>:role/<id>
      name: <service-account-name>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants