Skip to content

Adding annotations to the serviceAccount definition #5271

Merged
webvictim merged 8 commits intogravitational:masterfrom
devops-consultants:rcoward/service_account
Jan 20, 2021
Merged

Adding annotations to the serviceAccount definition #5271
webvictim merged 8 commits intogravitational:masterfrom
devops-consultants:rcoward/service_account

Conversation

@robcoward
Copy link
Copy Markdown
Contributor

@robcoward robcoward commented Jan 12, 2021

In order to allow Teleport to use IRSA for authentication on AWS EKS deployments, the serviceAccount needs to be able to pass an annotation for the IAM role, such as:

  annotations:
    eks.amazonaws.com/role-arn: arn:aws:iam::123456789012:role/teleport-serviceaccount-role

This PR allows the annotations to be specified in the helm chart values.yml overrides.

Added the ability to pass loadBalancerSourceRanges to the service when type: LoadBalancer.
Added separate values to use for the auth service when .Values.config.highAvailability: true

Addresses part of #3656

Also corrects a defect when trying to pass .Values.service.labels

…lability and passing through loadBalancerSourceRanges when service type is LoadBalancer
Copy link
Copy Markdown
Contributor

@awly awly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, let's wait for @webvictim to sign off too

Copy link
Copy Markdown
Contributor

@webvictim webvictim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM too, thanks for the PR!

@webvictim
Copy link
Copy Markdown
Contributor

@robcoward One more update from master if you could please and I'll get this merged!

@webvictim webvictim merged commit 20e6466 into gravitational:master Jan 20, 2021
@robcoward robcoward deleted the rcoward/service_account branch January 20, 2021 14:33
@robcoward robcoward restored the rcoward/service_account branch January 20, 2021 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants