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

[sickhub/cronjobs] Optionally support attaching Role/ClusterRole to ServiceAccount #71

Merged

Conversation

dennischristmann
Copy link
Contributor

In some use cases, CronJobs need to perform actions in the Kubernetes cluster the jobs are running on. To make it work, the ServiceAccount that is running the pod needs corresponding permissions on the Kubernetes API.

This Pull Request optionally allows to add Roles or ClusterRoles and attach them to the ServiceAccount by RoleBindings / ClusterRoleBindings. Thus, required permissions can be granted.

@DrPsychick
Copy link
Collaborator

An interesting feature, thanks for your contribution @dennischristmann !

@DrPsychick DrPsychick merged commit f5b6e01 into SickHub:main May 6, 2024
1 check passed
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.

None yet

2 participants