Skip to content

fix: Reference service accounts in deployments #316

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

Merged
merged 2 commits into from
Jul 24, 2024

Conversation

Sovietaced
Copy link
Contributor

@Sovietaced Sovietaced commented Jul 18, 2024

We ran into issues where we were specifying image pull secrets for service accounts but they were not effective since the deployments did not reference the service accounts.

Unfortunately the unit tests use pretty broad mock assertions so this does not impact the unit tests.

@Sovietaced Sovietaced changed the title Reference service accounts in deployments fix: Reference service accounts in deployments Jul 18, 2024
@dejanzele
Copy link
Member

Hi @Sovietaced,

Thanks for working on this.

Could we add an explicit field called serviceAccountName instead of using the name of the specific Component?

Not in all cases will the ServiceAccount match the component name

@Sovietaced
Copy link
Contributor Author

Could we add an explicit field called serviceAccountName instead of using the name of the specific Component?

Not in all cases will the ServiceAccount match the component name

Sure, do you want me to add the plumbing for the custom service account as well? I see that is part of the common spec now.

Signed-off-by: Jason Parraga <[email protected]>
@dejanzele dejanzele merged commit 27341f3 into armadaproject:main Jul 24, 2024
3 checks passed
@Sovietaced Sovietaced deleted the service-accounts branch August 8, 2024 20: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.

2 participants