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

support projected service account volumes #217

Merged
merged 2 commits into from
Jun 6, 2024
Merged

Conversation

piax93
Copy link
Contributor

@piax93 piax93 commented Jun 6, 2024

This is the equivalent of Yelp/paasta#3859 in the land of task-processing.

I'll then proceed to implement the equivalent of Yelp/paasta#3888 within Tron.

task_processing/plugins/kubernetes/task_config.py Outdated Show resolved Hide resolved
task_processing/plugins/kubernetes/utils.py Outdated Show resolved Hide resolved
def _get_service_account_token_volume_name(audience: str) -> str:
"""Generate name for service account projected volume

:param str audience: audience of the authentication token
Copy link
Member

Choose a reason for hiding this comment

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

i'm personally not a fan of repeating the type in the docstring - it's a bit redundant when the function itself is typed

@piax93 piax93 merged commit c5883b8 into master Jun 6, 2024
2 checks passed
@piax93 piax93 deleted the u/mpiano/SEC-18955 branch June 6, 2024 14:07
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